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

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

Issue 7669073: [Sync] Add support for enabling session sync remotely. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: DOUBLE R..ebase Created 9 years, 4 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/profile_sync_factory_mock.h ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/profile_sync_service.h
diff --git a/chrome/browser/sync/profile_sync_service.h b/chrome/browser/sync/profile_sync_service.h
index b39cacf6b7e16468bb41cf4852fc394d8ae1e821..0af7081470d24f4fc938ef66497ecb372cc6fb5c 100644
--- a/chrome/browser/sync/profile_sync_service.h
+++ b/chrome/browser/sync/profile_sync_service.h
@@ -207,6 +207,8 @@ class ProfileSyncService : public browser_sync::SyncFrontend,
const syncable::ModelTypeSet& encrypted_types) OVERRIDE;
virtual void OnMigrationNeededForTypes(
const syncable::ModelTypeSet& types) OVERRIDE;
+ virtual void OnDataTypesChanged(
+ const syncable::ModelTypeSet& to_add) OVERRIDE;
void OnClearServerDataTimeout();
@@ -551,6 +553,14 @@ class ProfileSyncService : public browser_sync::SyncFrontend,
static const char* GetPrefNameForDataType(syncable::ModelType data_type);
+ // About-flags experiment names for datatypes that aren't enabled by default
+ // yet.
+ static std::string GetExperimentNameForDataType(
+ syncable::ModelType data_type);
+
+ // Create and register a new datatype controller.
+ void RegisterNewDataType(syncable::ModelType data_type);
+
// Time at which we begin an attempt a GAIA authorization.
base::TimeTicks auth_start_time_;
« no previous file with comments | « chrome/browser/sync/profile_sync_factory_mock.h ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698