OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/sync_file_system/drive_backend/remote_to_local_syncer.h
" | 5 #include "chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.h
" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
10 #include "base/format_macros.h" | 10 #include "base/format_macros.h" |
11 #include "base/location.h" | 11 #include "base/location.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/message_loop/message_loop_proxy.h" | |
14 #include "base/strings/stringprintf.h" | 13 #include "base/strings/stringprintf.h" |
15 #include "base/task_runner_util.h" | 14 #include "base/task_runner_util.h" |
16 #include "chrome/browser/drive/drive_api_util.h" | 15 #include "chrome/browser/drive/drive_api_util.h" |
17 #include "chrome/browser/drive/drive_service_interface.h" | 16 #include "chrome/browser/drive/drive_service_interface.h" |
18 #include "chrome/browser/sync_file_system/drive_backend/callback_helper.h" | 17 #include "chrome/browser/sync_file_system/drive_backend/callback_helper.h" |
19 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_util.h" | 18 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_util.h" |
20 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.h" | 19 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.h" |
21 #include "chrome/browser/sync_file_system/drive_backend/sync_engine_context.h" | 20 #include "chrome/browser/sync_file_system/drive_backend/sync_engine_context.h" |
22 #include "chrome/browser/sync_file_system/drive_backend/sync_task_manager.h" | 21 #include "chrome/browser/sync_file_system/drive_backend/sync_task_manager.h" |
23 #include "chrome/browser/sync_file_system/drive_backend/sync_task_token.h" | 22 #include "chrome/browser/sync_file_system/drive_backend/sync_task_token.h" |
(...skipping 780 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
804 | 803 |
805 SyncStatusCallback RemoteToLocalSyncer::SyncCompletedCallback( | 804 SyncStatusCallback RemoteToLocalSyncer::SyncCompletedCallback( |
806 scoped_ptr<SyncTaskToken> token) { | 805 scoped_ptr<SyncTaskToken> token) { |
807 return base::Bind(&RemoteToLocalSyncer::SyncCompleted, | 806 return base::Bind(&RemoteToLocalSyncer::SyncCompleted, |
808 weak_ptr_factory_.GetWeakPtr(), | 807 weak_ptr_factory_.GetWeakPtr(), |
809 base::Passed(&token)); | 808 base::Passed(&token)); |
810 } | 809 } |
811 | 810 |
812 } // namespace drive_backend | 811 } // namespace drive_backend |
813 } // namespace sync_file_system | 812 } // namespace sync_file_system |
OLD | NEW |