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

Unified Diff: chrome/browser/sync/glue/sync_backend_host_impl.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
Index: chrome/browser/sync/glue/sync_backend_host_impl.h
diff --git a/chrome/browser/sync/glue/sync_backend_host_impl.h b/chrome/browser/sync/glue/sync_backend_host_impl.h
index 4a65f467f9475d7089143ab5081108041a53f437..b2ed9627cd94368cd924500fe9fa7f91ae796fc8 100644
--- a/chrome/browser/sync/glue/sync_backend_host_impl.h
+++ b/chrome/browser/sync/glue/sync_backend_host_impl.h
@@ -46,12 +46,15 @@ class NetworkResources;
class SyncManagerFactory;
}
+namespace sync_driver {
+class SyncPrefs;
+}
+
namespace browser_sync {
class ChangeProcessor;
class SyncBackendHostCore;
class SyncBackendRegistrar;
-class SyncPrefs;
class SyncedDeviceTracker;
struct DoInitializeOptions;
@@ -68,10 +71,9 @@ class SyncBackendHostImpl
// it serves and communicates to via the SyncFrontend interface (on
// the same thread it used to call the constructor). Must outlive
// |sync_prefs|.
- SyncBackendHostImpl(
- const std::string& name,
- Profile* profile,
- const base::WeakPtr<SyncPrefs>& sync_prefs);
+ SyncBackendHostImpl(const std::string& name,
+ Profile* profile,
+ const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs);
virtual ~SyncBackendHostImpl();
// SyncBackendHost implementation.
@@ -280,7 +282,7 @@ class SyncBackendHostImpl
bool initialized_;
- const base::WeakPtr<SyncPrefs> sync_prefs_;
+ const base::WeakPtr<sync_driver::SyncPrefs> sync_prefs_;
ExtensionsActivityMonitor extensions_activity_monitor_;
« no previous file with comments | « chrome/browser/sync/glue/session_model_associator.cc ('k') | chrome/browser/sync/glue/sync_backend_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698