| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/chromeos/drive/file_system.h" | 5 #include "chrome/browser/chromeos/drive/file_system.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
| 9 #include "base/message_loop/message_loop_proxy.h" | 9 #include "base/message_loop/message_loop_proxy.h" |
| 10 #include "base/platform_file.h" | 10 #include "base/platform_file.h" |
| 11 #include "base/prefs/pref_change_registrar.h" | 11 #include "base/prefs/pref_change_registrar.h" |
| 12 #include "base/prefs/pref_service.h" | 12 #include "base/prefs/pref_service.h" |
| 13 #include "base/stringprintf.h" | 13 #include "base/strings/stringprintf.h" |
| 14 #include "base/threading/sequenced_worker_pool.h" | 14 #include "base/threading/sequenced_worker_pool.h" |
| 15 #include "chrome/browser/chromeos/drive/change_list_loader.h" | 15 #include "chrome/browser/chromeos/drive/change_list_loader.h" |
| 16 #include "chrome/browser/chromeos/drive/change_list_processor.h" | 16 #include "chrome/browser/chromeos/drive/change_list_processor.h" |
| 17 #include "chrome/browser/chromeos/drive/drive.pb.h" | 17 #include "chrome/browser/chromeos/drive/drive.pb.h" |
| 18 #include "chrome/browser/chromeos/drive/file_cache.h" | 18 #include "chrome/browser/chromeos/drive/file_cache.h" |
| 19 #include "chrome/browser/chromeos/drive/file_system/copy_operation.h" | 19 #include "chrome/browser/chromeos/drive/file_system/copy_operation.h" |
| 20 #include "chrome/browser/chromeos/drive/file_system/create_directory_operation.h
" | 20 #include "chrome/browser/chromeos/drive/file_system/create_directory_operation.h
" |
| 21 #include "chrome/browser/chromeos/drive/file_system/create_file_operation.h" | 21 #include "chrome/browser/chromeos/drive/file_system/create_file_operation.h" |
| 22 #include "chrome/browser/chromeos/drive/file_system/download_operation.h" | 22 #include "chrome/browser/chromeos/drive/file_system/download_operation.h" |
| 23 #include "chrome/browser/chromeos/drive/file_system/move_operation.h" | 23 #include "chrome/browser/chromeos/drive/file_system/move_operation.h" |
| (...skipping 1080 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1104 return; | 1104 return; |
| 1105 } | 1105 } |
| 1106 | 1106 |
| 1107 PlatformFileInfoProto entry_file_info; | 1107 PlatformFileInfoProto entry_file_info; |
| 1108 util::ConvertPlatformFileInfoToResourceEntry(*file_info, &entry_file_info); | 1108 util::ConvertPlatformFileInfoToResourceEntry(*file_info, &entry_file_info); |
| 1109 *entry->mutable_file_info() = entry_file_info; | 1109 *entry->mutable_file_info() = entry_file_info; |
| 1110 callback.Run(FILE_ERROR_OK, entry.Pass()); | 1110 callback.Run(FILE_ERROR_OK, entry.Pass()); |
| 1111 } | 1111 } |
| 1112 | 1112 |
| 1113 } // namespace drive | 1113 } // namespace drive |
| OLD | NEW |