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

Unified Diff: sync/internal_api/public/sync_manager.h

Issue 10905045: [Sync] Pass ModelTypeSet by value everywhere (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync to head Created 8 years, 4 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
« no previous file with comments | « sync/engine/verify_updates_command.cc ('k') | sync/internal_api/public/test/fake_sync_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/public/sync_manager.h
diff --git a/sync/internal_api/public/sync_manager.h b/sync/internal_api/public/sync_manager.h
index 3a874404b9a0674215e90b638315908df806450c..a0bc548aaf53f8925de775b8ad862bdb1f445ca6 100644
--- a/sync/internal_api/public/sync_manager.h
+++ b/sync/internal_api/public/sync_manager.h
@@ -339,8 +339,7 @@ class SyncManager {
virtual void UpdateCredentials(const SyncCredentials& credentials) = 0;
// Called when the user disables or enables a sync type.
- virtual void UpdateEnabledTypes(
- const ModelTypeSet& enabled_types) = 0;
+ virtual void UpdateEnabledTypes(ModelTypeSet enabled_types) = 0;
// Forwards to the underlying invalidator (see comments in invalidator.h).
virtual void RegisterInvalidationHandler(
@@ -369,7 +368,7 @@ class SyncManager {
// does finish.
virtual void ConfigureSyncer(
ConfigureReason reason,
- const ModelTypeSet& types_to_config,
+ ModelTypeSet types_to_config,
const ModelSafeRoutingInfo& new_routing_info,
const base::Closure& ready_task,
const base::Closure& retry_task) = 0;
« no previous file with comments | « sync/engine/verify_updates_command.cc ('k') | sync/internal_api/public/test/fake_sync_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698