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

Unified Diff: chrome/browser/sync/profile_sync_components_factory.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/profile_sync_components_factory.h
diff --git a/chrome/browser/sync/profile_sync_components_factory.h b/chrome/browser/sync/profile_sync_components_factory.h
index 36058e78f15609220e9e8ec42144f757eb3b3b8a..3212f11036b366dc86f6d3ec0695180d019e98fb 100644
--- a/chrome/browser/sync/profile_sync_components_factory.h
+++ b/chrome/browser/sync/profile_sync_components_factory.h
@@ -29,10 +29,13 @@ class FailedDataTypesHandler;
class GenericChangeProcessor;
class SharedChangeProcessor;
class SyncBackendHost;
-class SyncPrefs;
class DataTypeErrorHandler;
} // namespace browser_sync
+namespace sync_driver {
+class SyncPrefs;
+}
+
namespace syncer {
class DataTypeDebugInfoListener;
class SyncableService;
@@ -88,7 +91,7 @@ class ProfileSyncComponentsFactory {
virtual browser_sync::SyncBackendHost* CreateSyncBackendHost(
const std::string& name,
Profile* profile,
- const base::WeakPtr<browser_sync::SyncPrefs>& sync_prefs) = 0;
+ const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs) = 0;
// Creating this in the factory helps us mock it out in testing.
virtual browser_sync::GenericChangeProcessor* CreateGenericChangeProcessor(
« no previous file with comments | « chrome/browser/sync/glue/typed_url_data_type_controller.cc ('k') | chrome/browser/sync/profile_sync_components_factory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698