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

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: SetBool -> CallbackCounter 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..f15986bd54cdd1a470c2013147a7889598183c1f 100644
--- a/chrome/browser/sync/glue/backend_data_type_configurer.h
+++ b/chrome/browser/sync/glue/backend_data_type_configurer.h
@@ -34,11 +34,11 @@ class BackendDataTypeConfigurer {
// Nigori.
virtual void ConfigureDataTypes(
sync_api::ConfigureReason reason,
- syncable::ModelTypeSet types_to_add,
- syncable::ModelTypeSet types_to_remove,
+ 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