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/sync_engine_initializer.
h" | 5 #include "chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.
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/logging.h" | 9 #include "base/logging.h" |
10 #include "chrome/browser/drive/drive_api_service.h" | |
11 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_constants.
h" | 10 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_constants.
h" |
12 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_util.h" | 11 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_util.h" |
13 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.h" | 12 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.h" |
14 #include "chrome/browser/sync_file_system/drive_backend/sync_engine_context.h" | 13 #include "chrome/browser/sync_file_system/drive_backend/sync_engine_context.h" |
15 #include "chrome/browser/sync_file_system/drive_backend/sync_task_manager.h" | 14 #include "chrome/browser/sync_file_system/drive_backend/sync_task_manager.h" |
16 #include "chrome/browser/sync_file_system/drive_backend/sync_task_token.h" | 15 #include "chrome/browser/sync_file_system/drive_backend/sync_task_token.h" |
17 #include "chrome/browser/sync_file_system/logger.h" | 16 #include "chrome/browser/sync_file_system/logger.h" |
| 17 #include "components/drive/service/drive_api_service.h" |
18 #include "google_apis/drive/drive_api_parser.h" | 18 #include "google_apis/drive/drive_api_parser.h" |
19 | 19 |
20 namespace sync_file_system { | 20 namespace sync_file_system { |
21 namespace drive_backend { | 21 namespace drive_backend { |
22 | 22 |
23 namespace { | 23 namespace { |
24 | 24 |
25 //////////////////////////////////////////////////////////////////////////////// | 25 //////////////////////////////////////////////////////////////////////////////// |
26 // Functions below are for wrapping the access to legacy GData WAPI classes. | 26 // Functions below are for wrapping the access to legacy GData WAPI classes. |
27 | 27 |
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 return; | 341 return; |
342 } | 342 } |
343 | 343 |
344 util::Log(logging::LOG_VERBOSE, FROM_HERE, | 344 util::Log(logging::LOG_VERBOSE, FROM_HERE, |
345 "[Initialize] Completed successfully."); | 345 "[Initialize] Completed successfully."); |
346 SyncTaskManager::NotifyTaskDone(token.Pass(), SYNC_STATUS_OK); | 346 SyncTaskManager::NotifyTaskDone(token.Pass(), SYNC_STATUS_OK); |
347 } | 347 } |
348 | 348 |
349 } // namespace drive_backend | 349 } // namespace drive_backend |
350 } // namespace sync_file_system | 350 } // namespace sync_file_system |
OLD | NEW |