Index: components/sync/engine_impl/syncer.h |
diff --git a/components/sync/engine_impl/syncer.h b/components/sync/engine_impl/syncer.h |
index 2e86d8e00c18c88c24874deabb8398549984fb7f..455c7590a9c984aca55244361b7bbf6fa20dc5e0 100644 |
--- a/components/sync/engine_impl/syncer.h |
+++ b/components/sync/engine_impl/syncer.h |
@@ -58,7 +58,7 @@ class Syncer { |
// Returns: false if an error occurred and retries should backoff, true |
// otherwise. |
virtual bool ConfigureSyncShare( |
- ModelTypeSet request_types, |
+ const ModelTypeSet& request_types, |
sync_pb::GetUpdatesCallerInfo::GetUpdatesSource source, |
SyncCycle* cycle); |
@@ -85,7 +85,7 @@ class Syncer { |
// number of unsynced and ready to commit items reaches zero or an error is |
// encountered. A request to exit early will be treated as an error and will |
// abort any blocking operations. |
- SyncerError BuildAndPostCommits(ModelTypeSet request_types, |
+ SyncerError BuildAndPostCommits(const ModelTypeSet& request_types, |
NudgeTracker* nudge_tracker, |
SyncCycle* cycle, |
CommitProcessor* commit_processor); |