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

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

Issue 1421003007: [Sync] Componentize ProfileSyncComponentsFactoryImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 | « no previous file | chrome/browser/sync/chrome_sync_client.cc » ('j') | chrome/browser/sync/chrome_sync_client.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/chrome_sync_client.h
diff --git a/chrome/browser/sync/chrome_sync_client.h b/chrome/browser/sync/chrome_sync_client.h
index 7d16e8a62293e8032993ba729913ef483a4926b7..eb7a3c375bd400d2b56dba6223e276f3e8d2ccd0 100644
--- a/chrome/browser/sync/chrome_sync_client.h
+++ b/chrome/browser/sync/chrome_sync_client.h
@@ -54,6 +54,22 @@ class ChromeSyncClient : public sync_driver::SyncClient {
void SetBrowsingDataRemoverObserverForTesting(
BrowsingDataRemover::Observer* observer);
+ // Register data types which are enabled on desktop platforms only.
+ // |disabled_types| and |enabled_types| correspond only to those types
+ // being explicitly enabled/disabled by the command line.
blundell 2015/11/10 15:24:24 should this be "explicitly disabled/enabled"? I re
Nicolas Zea 2015/11/11 00:06:20 Done.
+ static void RegisterDesktopDataTypes(Profile* profile,
+ syncer::ModelTypeSet disabled_types,
+ syncer::ModelTypeSet enabled_types,
+ sync_driver::SyncClient* sync_client);
+
+ // Register data types which are enabled on Android platforms only.
+ // |disabled_types| and |enabled_types| correspond only to those types
+ // being explicitly enabled/disabled by the command line.
+ static void RegisterAndroidDataTypes(Profile* profile,
+ syncer::ModelTypeSet disabled_types,
+ syncer::ModelTypeSet enabled_types,
+ sync_driver::SyncClient* sync_client);
+
private:
Profile* const profile_;
« no previous file with comments | « no previous file | chrome/browser/sync/chrome_sync_client.cc » ('j') | chrome/browser/sync/chrome_sync_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698