summaryrefslogtreecommitdiffstats
path: root/components/sync_driver/fake_data_type_controller.h
diff options
context:
space:
mode:
authortim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-09 02:15:35 +0000
committertim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-09 02:15:35 +0000
commit22d2209e2359574649fe2ce52f3290c931b19209 (patch)
treef4b35bd3b3def21e5af69a28c56e31e88b8d8f5e /components/sync_driver/fake_data_type_controller.h
parentfd20b904a6e8c2de2321fd560aaf8a02cc941a1a (diff)
downloadchromium_src-22d2209e2359574649fe2ce52f3290c931b19209.zip
chromium_src-22d2209e2359574649fe2ce52f3290c931b19209.tar.gz
chromium_src-22d2209e2359574649fe2ce52f3290c931b19209.tar.bz2
sync: remove c/b/s dependencies from SharedChangeProcessor
*Moves ActivateDataType call to DataTypeManagerImpl via BackendDataTypeConfigurer. Removed from PSS. *Pass UserShare directly to Connect instead of PSS. *Paves the way for moving SCP to sync_driver. Note that previously, ActivateDataType was called from model-safe thread, whereas it is now invoked on the UI for non-control types. Because model-association only happens when the syncer is in configuration mode (until StartSyncingWithServer is called), this should be safe to do from the UI thread before telling the syncer to start. BUG=339726 Review URL: https://codereview.chromium.org/267713009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269150 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/sync_driver/fake_data_type_controller.h')
-rw-r--r--components/sync_driver/fake_data_type_controller.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/sync_driver/fake_data_type_controller.h b/components/sync_driver/fake_data_type_controller.h
index 2292c4f..643d524 100644
--- a/components/sync_driver/fake_data_type_controller.h
+++ b/components/sync_driver/fake_data_type_controller.h
@@ -39,6 +39,8 @@ class FakeDataTypeController : public DataTypeController {
virtual syncer::ModelSafeGroup model_safe_group() const OVERRIDE;
+ virtual ChangeProcessor* GetChangeProcessor() const OVERRIDE;
+
virtual State state() const OVERRIDE;
virtual void OnSingleDatatypeUnrecoverableError(