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

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: 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/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 c344d48190f300a04d94635b5eb011d985be10af..37f1e8f3bb445e94d6fea303707aa04fddc4cac0 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