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

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: Rerererebase 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
« no previous file with comments | « chrome/browser/sync/sessions2/sessions_sync_manager.h ('k') | chrome/browser/sync/startup_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/startup_controller.h
diff --git a/chrome/browser/sync/startup_controller.h b/chrome/browser/sync/startup_controller.h
index 0dbceb571d6096021cb699fcd5c61e77a11bc63c..b5ddc933459df665ae433575ca97c36b75c51230 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();
@@ -94,7 +96,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_;
« no previous file with comments | « chrome/browser/sync/sessions2/sessions_sync_manager.h ('k') | chrome/browser/sync/startup_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698