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

Side by Side Diff: components/sync_driver/startup_controller.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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 #ifndef COMPONENTS_SYNC_DRIVER_STARTUP_CONTROLLER_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_STARTUP_CONTROLLER_H_
6 #define COMPONENTS_SYNC_DRIVER_STARTUP_CONTROLLER_H_ 6 #define COMPONENTS_SYNC_DRIVER_STARTUP_CONTROLLER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
11 #include "sync/internal_api/public/base/model_type.h" 11 #include "components/sync/base/model_type.h"
12 12
13 namespace sync_driver { 13 namespace sync_driver {
14 class SyncPrefs; 14 class SyncPrefs;
15 } 15 }
16 16
17 namespace browser_sync { 17 namespace browser_sync {
18 18
19 // This class is used by ProfileSyncService to manage all logic and state 19 // This class is used by ProfileSyncService to manage all logic and state
20 // pertaining to initialization of the SyncBackendHost (colloquially referred 20 // pertaining to initialization of the SyncBackendHost (colloquially referred
21 // to as "the backend"). 21 // to as "the backend").
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 108
109 // Used to compute preferred_types from SyncPrefs as-needed. 109 // Used to compute preferred_types from SyncPrefs as-needed.
110 syncer::ModelTypeSet registered_types_; 110 syncer::ModelTypeSet registered_types_;
111 111
112 base::WeakPtrFactory<StartupController> weak_factory_; 112 base::WeakPtrFactory<StartupController> weak_factory_;
113 }; 113 };
114 114
115 } // namespace browser_sync 115 } // namespace browser_sync
116 116
117 #endif // COMPONENTS_SYNC_DRIVER_STARTUP_CONTROLLER_H_ 117 #endif // COMPONENTS_SYNC_DRIVER_STARTUP_CONTROLLER_H_
OLDNEW
« no previous file with comments | « components/sync_driver/shared_change_processor_unittest.cc ('k') | components/sync_driver/sync_api_component_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698