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 d32b7371a1c973b1d3b6a3e03b930adb40c30ad8..968383eebb6ba0aef1e4c5e3e9f6935e5fdbae1c 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(); |
@@ -550,6 +552,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_; |