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 4227e8d4b692598c64fafa0e116c1aa825ba278e..0007b6ac951e582079b6282514a64d3df15d8cdd 100644 |
--- a/chrome/browser/sync/profile_sync_service.h |
+++ b/chrome/browser/sync/profile_sync_service.h |
@@ -35,6 +35,7 @@ |
#include "sync/engine/model_safe_worker.h" |
#include "sync/js/sync_js_controller.h" |
#include "sync/syncable/model_type.h" |
+#include "sync/util/experiments.h" |
#include "sync/util/unrecoverable_error_handler.h" |
class Profile; |
@@ -235,8 +236,8 @@ class ProfileSyncService : public browser_sync::SyncFrontend, |
virtual void OnEncryptionComplete() OVERRIDE; |
virtual void OnMigrationNeededForTypes( |
syncable::ModelTypeSet types) OVERRIDE; |
- virtual void OnDataTypesChanged( |
- syncable::ModelTypeSet to_add) OVERRIDE; |
+ virtual void OnExperimentsChanged( |
+ const browser_sync::Experiments& experiments) OVERRIDE; |
virtual void OnActionableError( |
const browser_sync::SyncProtocolError& error) OVERRIDE; |
@@ -741,6 +742,9 @@ class ProfileSyncService : public browser_sync::SyncFrontend, |
// data types. |
bool setup_in_progress_; |
+ // The set of currently enabled sync experiments. |
+ browser_sync::Experiments current_experiments; |
+ |
DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); |
}; |