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..3a7ce251375009774fe3b01235fed4681e8f365f 100644 |
--- a/chrome/browser/sync/profile_sync_service.h |
+++ b/chrome/browser/sync/profile_sync_service.h |
@@ -164,7 +164,7 @@ class ProfileSyncService : public browser_sync::SyncFrontend, |
// makes the data type controller available for use, it does not |
// enable or activate the synchronization of the data type (see |
// ActivateDataType). Takes ownership of the pointer. |
- void RegisterDataTypeController( |
+ virtual void RegisterDataTypeController( |
browser_sync::DataTypeController* data_type_controller); |
// Returns the session model associator associated with this type, but only if |
@@ -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_; |