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

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

Issue 10829019: [sync] Refactor how default sync datatypes are set. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed unused include Created 8 years, 5 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_impl.h
diff --git a/chrome/browser/sync/profile_sync_components_factory_impl.h b/chrome/browser/sync/profile_sync_components_factory_impl.h
index 241cc8f711c458900c290cae7e1e24b9e17a92d4..862b3c22b02ad1a6e2b8fd2039763ee199dac67f 100644
--- a/chrome/browser/sync/profile_sync_components_factory_impl.h
+++ b/chrome/browser/sync/profile_sync_components_factory_impl.h
@@ -64,6 +64,11 @@ class ProfileSyncComponentsFactoryImpl : public ProfileSyncComponentsFactory {
browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE;
private:
+ // Register data types which are enabled on desktop platforms only.
+ void RegisterDesktopDataTypes(ProfileSyncService* pss);
+ // Register data types which are enabled on both desktop and mobile.
+ void RegisterCommonDataTypes(ProfileSyncService* pss);
+
Profile* profile_;
CommandLine* command_line_;
// Set on the UI thread (since extensions::ExtensionSystemFactory is

Powered by Google App Engine
This is Rietveld 408576698