| 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/format_macros.h" | 9 #include "base/format_macros.h" |
| 10 #include "base/location.h" | 10 #include "base/location.h" |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/message_loop/message_loop_proxy.h" | |
| 13 #include "base/strings/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
| 14 #include "base/task_runner_util.h" | 13 #include "base/task_runner_util.h" |
| 15 #include "chrome/browser/drive/drive_api_util.h" | 14 #include "chrome/browser/drive/drive_api_util.h" |
| 16 #include "chrome/browser/drive/drive_service_interface.h" | 15 #include "chrome/browser/drive/drive_service_interface.h" |
| 17 #include "chrome/browser/sync_file_system/drive_backend/callback_helper.h" | 16 #include "chrome/browser/sync_file_system/drive_backend/callback_helper.h" |
| 18 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_util.h" | 17 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_util.h" |
| 19 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.h" | 18 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.h" |
| 20 #include "chrome/browser/sync_file_system/drive_backend/sync_engine_context.h" | 19 #include "chrome/browser/sync_file_system/drive_backend/sync_engine_context.h" |
| 21 #include "chrome/browser/sync_file_system/drive_backend/sync_task_manager.h" | 20 #include "chrome/browser/sync_file_system/drive_backend/sync_task_manager.h" |
| 22 #include "chrome/browser/sync_file_system/drive_backend/sync_task_token.h" | 21 #include "chrome/browser/sync_file_system/drive_backend/sync_task_token.h" |
| (...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 789 | 788 |
| 790 SyncStatusCallback RemoteToLocalSyncer::SyncCompletedCallback( | 789 SyncStatusCallback RemoteToLocalSyncer::SyncCompletedCallback( |
| 791 scoped_ptr<SyncTaskToken> token) { | 790 scoped_ptr<SyncTaskToken> token) { |
| 792 return base::Bind(&RemoteToLocalSyncer::SyncCompleted, | 791 return base::Bind(&RemoteToLocalSyncer::SyncCompleted, |
| 793 weak_ptr_factory_.GetWeakPtr(), | 792 weak_ptr_factory_.GetWeakPtr(), |
| 794 base::Passed(&token)); | 793 base::Passed(&token)); |
| 795 } | 794 } |
| 796 | 795 |
| 797 } // namespace drive_backend | 796 } // namespace drive_backend |
| 798 } // namespace sync_file_system | 797 } // namespace sync_file_system |
| OLD | NEW |