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

Unified Diff: chrome/browser/sync/startup_controller.h

Issue 195873020: [Sync] Move SyncPrefs into sync_driver component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/startup_controller.h
diff --git a/chrome/browser/sync/startup_controller.h b/chrome/browser/sync/startup_controller.h
index 6ef4af53cfb5a5f1995fe45b9e233f8613529c64..e218a8f4deab0989bde34da56d65e204b277ce2f 100644
--- a/chrome/browser/sync/startup_controller.h
+++ b/chrome/browser/sync/startup_controller.h
@@ -13,9 +13,11 @@
class ManagedUserSigninManagerWrapper;
class ProfileOAuth2TokenService;
-namespace browser_sync {
-
+namespace sync_driver {
class SyncPrefs;
+}
+
+namespace browser_sync {
// Defines the type of behavior the sync engine should use. If configured for
// AUTO_START, the sync engine will automatically call SetSyncSetupCompleted()
@@ -35,7 +37,7 @@ class StartupController {
public:
StartupController(ProfileSyncServiceStartBehavior start_behavior,
const ProfileOAuth2TokenService* token_service,
- const browser_sync::SyncPrefs* sync_prefs,
+ const sync_driver::SyncPrefs* sync_prefs,
const ManagedUserSigninManagerWrapper* signin,
base::Closure start_backend);
~StartupController();
@@ -91,7 +93,7 @@ class StartupController {
// distinct signin flow.
const bool auto_start_enabled_;
- const browser_sync::SyncPrefs* sync_prefs_;
+ const sync_driver::SyncPrefs* sync_prefs_;
const ProfileOAuth2TokenService* token_service_;

Powered by Google App Engine
This is Rietveld 408576698