Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Side by Side Diff: chrome/browser/sync_file_system/drive_backend/sync_engine_context.cc

Issue 2694813005: Revert of Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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"
14 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.h" 13 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.h"
15 #include "chrome/browser/sync_file_system/remote_change_processor.h" 14 #include "chrome/browser/sync_file_system/remote_change_processor.h"
16 #include "chrome/browser/sync_file_system/task_logger.h" 15 #include "chrome/browser/sync_file_system/task_logger.h"
17 #include "components/drive/drive_uploader.h" 16 #include "components/drive/drive_uploader.h"
18 #include "components/drive/service/drive_service_interface.h" 17 #include "components/drive/service/drive_service_interface.h"
19 18
20 namespace sync_file_system { 19 namespace sync_file_system {
21 namespace drive_backend { 20 namespace drive_backend {
22 21
23 SyncEngineContext::SyncEngineContext( 22 SyncEngineContext::SyncEngineContext(
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 DCHECK(remote_change_processor); 99 DCHECK(remote_change_processor);
101 remote_change_processor_ = remote_change_processor; 100 remote_change_processor_ = remote_change_processor;
102 } 101 }
103 102
104 void SyncEngineContext::DetachFromSequence() { 103 void SyncEngineContext::DetachFromSequence() {
105 sequence_checker_.DetachFromSequence(); 104 sequence_checker_.DetachFromSequence();
106 } 105 }
107 106
108 } // namespace drive_backend 107 } // namespace drive_backend
109 } // namespace sync_file_system 108 } // namespace sync_file_system
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698