summaryrefslogtreecommitdiffstats
path: root/sync/engine/all_status.h
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-01 03:50:29 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-01 03:50:29 +0000
commitbb7d12a10ca7e95ab07df84967cfed6b66bee08b (patch)
treef3dd2f9fa59a8ce55aa34d8505d4186bf29c05f0 /sync/engine/all_status.h
parentad91dc59050338aab2fd258aea360f96dd7c1ab2 (diff)
downloadchromium_src-bb7d12a10ca7e95ab07df84967cfed6b66bee08b.zip
chromium_src-bb7d12a10ca7e95ab07df84967cfed6b66bee08b.tar.gz
chromium_src-bb7d12a10ca7e95ab07df84967cfed6b66bee08b.tar.bz2
[Sync] Pass ModelTypeSet by value everywhere
ModelTypeSet is small enough to not need to be passed around by const reference. BUG=145986 Review URL: https://chromiumcodereview.appspot.com/10905045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154595 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/engine/all_status.h')
-rw-r--r--sync/engine/all_status.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sync/engine/all_status.h b/sync/engine/all_status.h
index 89c1769..e350f57 100644
--- a/sync/engine/all_status.h
+++ b/sync/engine/all_status.h
@@ -48,7 +48,7 @@ class AllStatus : public SyncEngineEventListener {
void IncrementNotificationsReceived();
- void SetThrottledTypes(const ModelTypeSet &types);
+ void SetThrottledTypes(ModelTypeSet types);
void SetEncryptedTypes(ModelTypeSet types);
void SetCryptographerReady(bool ready);