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

Unified Diff: chrome/browser/sync/glue/backend_data_type_configurer.h

Issue 10483015: [Sync] Refactor sync configuration logic. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 6 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: chrome/browser/sync/glue/backend_data_type_configurer.h
diff --git a/chrome/browser/sync/glue/backend_data_type_configurer.h b/chrome/browser/sync/glue/backend_data_type_configurer.h
index 161bc1437b9d6c0d0bc198dd545581c9a9fb8834..1b45cd0326f547ba5bb8ba2952e9146575c17a43 100644
--- a/chrome/browser/sync/glue/backend_data_type_configurer.h
+++ b/chrome/browser/sync/glue/backend_data_type_configurer.h
@@ -33,12 +33,12 @@ class BackendDataTypeConfigurer {
// SyncBackendHost calls ConfigureDataTypes on itself to configure
// Nigori.
virtual void ConfigureDataTypes(
- sync_api::ConfigureReason reason,
- syncable::ModelTypeSet types_to_add,
- syncable::ModelTypeSet types_to_remove,
+ const sync_api::ConfigureReason& reason,
rlarocque 2012/06/09 01:44:35 nit: ConfigureReason is an enum. It's probably be
Nicolas Zea 2012/06/11 23:05:20 Done.
+ const syncable::ModelTypeSet& types_to_add,
+ const syncable::ModelTypeSet& types_to_remove,
NigoriState nigori_state,
- base::Callback<void(syncable::ModelTypeSet)> ready_task,
- base::Callback<void()> retry_callback) = 0;
+ const base::Callback<void(syncable::ModelTypeSet)>& ready_task,
+ const base::Callback<void()>& retry_callback) = 0;
protected:
virtual ~BackendDataTypeConfigurer() {}

Powered by Google App Engine
This is Rietveld 408576698