| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_context.h" | 5 #include "chrome/browser/sync_file_system/drive_backend/sync_engine_context.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "base/sequenced_task_runner.h" | 11 #include "base/sequenced_task_runner.h" |
| 12 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
| 13 #include "base/threading/sequenced_worker_pool.h" |
| 13 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.h" | 14 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.h" |
| 14 #include "chrome/browser/sync_file_system/remote_change_processor.h" | 15 #include "chrome/browser/sync_file_system/remote_change_processor.h" |
| 15 #include "chrome/browser/sync_file_system/task_logger.h" | 16 #include "chrome/browser/sync_file_system/task_logger.h" |
| 16 #include "components/drive/drive_uploader.h" | 17 #include "components/drive/drive_uploader.h" |
| 17 #include "components/drive/service/drive_service_interface.h" | 18 #include "components/drive/service/drive_service_interface.h" |
| 18 | 19 |
| 19 namespace sync_file_system { | 20 namespace sync_file_system { |
| 20 namespace drive_backend { | 21 namespace drive_backend { |
| 21 | 22 |
| 22 SyncEngineContext::SyncEngineContext( | 23 SyncEngineContext::SyncEngineContext( |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 DCHECK(remote_change_processor); | 100 DCHECK(remote_change_processor); |
| 100 remote_change_processor_ = remote_change_processor; | 101 remote_change_processor_ = remote_change_processor; |
| 101 } | 102 } |
| 102 | 103 |
| 103 void SyncEngineContext::DetachFromSequence() { | 104 void SyncEngineContext::DetachFromSequence() { |
| 104 sequence_checker_.DetachFromSequence(); | 105 sequence_checker_.DetachFromSequence(); |
| 105 } | 106 } |
| 106 | 107 |
| 107 } // namespace drive_backend | 108 } // namespace drive_backend |
| 108 } // namespace sync_file_system | 109 } // namespace sync_file_system |
| OLD | NEW |