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

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

Issue 2511703004: [Sync] Remove UIDataTypeController (Closed)
Patch Set: Rebase. Created 4 years, 1 month 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/directory_data_type_controller.h
diff --git a/components/sync/driver/directory_data_type_controller.h b/components/sync/driver/directory_data_type_controller.h
index fb5a560e593d0b4205133c382459efe8d3db0d68..2b2051c17377dbd8cf0a50175cd201ebecc6a82a 100644
--- a/components/sync/driver/directory_data_type_controller.h
+++ b/components/sync/driver/directory_data_type_controller.h
@@ -55,18 +55,20 @@ class DirectoryDataTypeController : public DataTypeController {
// |dump_stack| is called when an unrecoverable error occurs.
DirectoryDataTypeController(ModelType type,
const base::Closure& dump_stack,
- SyncClient* sync_client);
-
- // The model safe group of this data type. This should reflect the
- // thread that should be used to modify the data type's native
- // model.
- virtual ModelSafeGroup model_safe_group() const = 0;
+ SyncClient* sync_client,
+ ModelSafeGroup model_safe_group);
// Access to the ChangeProcessor for the type being controlled by |this|.
// Returns null if the ChangeProcessor isn't created or connected.
virtual ChangeProcessor* GetChangeProcessor() const = 0;
SyncClient* const sync_client_;
+
+ private:
+ // The model safe group of this data type. This should reflect the
+ // thread that should be used to modify the data type's native
+ // model.
+ ModelSafeGroup model_safe_group_;
};
} // namespace syncer

Powered by Google App Engine
This is Rietveld 408576698