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

Unified Diff: components/sync/driver/model_type_controller.h

Issue 2563423005: [Sync] Move ConfigureDataTypes logic into DataTypeManagerImpl. (Closed)
Patch Set: Address comments. Created 3 years, 11 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
Index: components/sync/driver/model_type_controller.h
diff --git a/components/sync/driver/model_type_controller.h b/components/sync/driver/model_type_controller.h
index 7efa58f7eb77b9063b4b8b3b17bb8c717fc0e129..caf30216ef7bb664c1e646031e2ac6021d492572 100644
--- a/components/sync/driver/model_type_controller.h
+++ b/components/sync/driver/model_type_controller.h
@@ -36,11 +36,8 @@ class ModelTypeController : public DataTypeController {
void LoadModels(const ModelLoadCallback& model_load_callback) override;
void GetAllNodes(const AllNodesCallback& callback) override;
void GetStatusCounters(const StatusCountersCallback& callback) override;
-
- // Registers non-blocking data type with sync backend. In the process the
- // activation context is passed to ModelTypeRegistry, where ModelTypeWorker
- // gets created and connected with ModelTypeProcessor.
- void RegisterWithBackend(ModelTypeConfigurer* configurer) override;
+ void RegisterWithBackend(base::Callback<void(bool)> set_downloaded,
+ ModelTypeConfigurer* configurer) override;
void StartAssociating(const StartCallback& start_callback) override;
void ActivateDataType(ModelTypeConfigurer* configurer) override;
void DeactivateDataType(ModelTypeConfigurer* configurer) override;
« no previous file with comments | « components/sync/driver/glue/sync_backend_host_impl_unittest.cc ('k') | components/sync/driver/model_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698