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

Side by Side Diff: components/sync/engine_impl/cycle/sync_cycle_context.cc

Issue 2387553002: [Sync] Removing duplicated includes between cc and h files. (Closed)
Patch Set: Fixing DataTypeStatusTable Created 4 years, 2 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "components/sync/engine_impl/cycle/sync_cycle_context.h" 5 #include "components/sync/engine_impl/cycle/sync_cycle_context.h"
6 6
7 #include "components/sync/base/extensions_activity.h" 7 #include "components/sync/base/extensions_activity.h"
8 #include "components/sync/engine_impl/cycle/debug_info_getter.h"
9 8
10 namespace syncer { 9 namespace syncer {
11 10
12 SyncCycleContext::SyncCycleContext( 11 SyncCycleContext::SyncCycleContext(
13 ServerConnectionManager* connection_manager, 12 ServerConnectionManager* connection_manager,
14 syncable::Directory* directory, 13 syncable::Directory* directory,
15 ExtensionsActivity* extensions_activity, 14 ExtensionsActivity* extensions_activity,
16 const std::vector<SyncEngineEventListener*>& listeners, 15 const std::vector<SyncEngineEventListener*>& listeners,
17 DebugInfoGetter* debug_info_getter, 16 DebugInfoGetter* debug_info_getter,
18 ModelTypeRegistry* model_type_registry, 17 ModelTypeRegistry* model_type_registry,
(...skipping 24 matching lines...) Expand all
43 ModelTypeSet SyncCycleContext::GetEnabledTypes() const { 42 ModelTypeSet SyncCycleContext::GetEnabledTypes() const {
44 return model_type_registry_->GetEnabledTypes(); 43 return model_type_registry_->GetEnabledTypes();
45 } 44 }
46 45
47 void SyncCycleContext::SetRoutingInfo( 46 void SyncCycleContext::SetRoutingInfo(
48 const ModelSafeRoutingInfo& routing_info) { 47 const ModelSafeRoutingInfo& routing_info) {
49 model_type_registry_->SetEnabledDirectoryTypes(routing_info); 48 model_type_registry_->SetEnabledDirectoryTypes(routing_info);
50 } 49 }
51 50
52 } // namespace syncer 51 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/engine_impl/cycle/sync_cycle.cc ('k') | components/sync/engine_impl/directory_commit_contribution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698