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

Unified Diff: chrome/browser/sync/glue/data_type_manager_impl_unittest.cc

Issue 10483015: [Sync] Refactor sync configuration logic. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/data_type_manager_impl_unittest.cc
diff --git a/chrome/browser/sync/glue/data_type_manager_impl_unittest.cc b/chrome/browser/sync/glue/data_type_manager_impl_unittest.cc
index 23985794eb1fc0fc7a2e273dfd1a95532c9827ed..c03185ccb3c59dd62ca058932b04a1138300cabe 100644
--- a/chrome/browser/sync/glue/data_type_manager_impl_unittest.cc
+++ b/chrome/browser/sync/glue/data_type_manager_impl_unittest.cc
@@ -41,12 +41,12 @@ class FakeBackendDataTypeConfigurer : public BackendDataTypeConfigurer {
virtual ~FakeBackendDataTypeConfigurer() {}
virtual void ConfigureDataTypes(
- sync_api::ConfigureReason reason,
- ModelTypeSet types_to_add,
- ModelTypeSet types_to_remove,
+ const sync_api::ConfigureReason& reason,
+ const ModelTypeSet& types_to_add,
+ const ModelTypeSet& types_to_remove,
NigoriState nigori_state,
- base::Callback<void(ModelTypeSet)> ready_task,
- base::Callback<void()> retry_callback) OVERRIDE {
+ const base::Callback<void(ModelTypeSet)>& ready_task,
+ const base::Callback<void()>& retry_callback) OVERRIDE {
last_nigori_state_ = nigori_state;
last_ready_task_ = ready_task;
}

Powered by Google App Engine
This is Rietveld 408576698