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

Unified Diff: sync/engine/all_status.cc

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/all_status.h ('k') | sync/engine/sync_scheduler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/all_status.cc
diff --git a/sync/engine/all_status.cc b/sync/engine/all_status.cc
index ffa831103e4296aca7a52cbe55bcfadc95f1817a..3df6c29ff172715cedcac956e124453f20226728 100644
--- a/sync/engine/all_status.cc
+++ b/sync/engine/all_status.cc
@@ -139,7 +139,7 @@ void AllStatus::SetEncryptedTypes(ModelTypeSet types) {
status_.encrypted_types = types;
}
-void AllStatus::SetThrottledTypes(const ModelTypeSet& types) {
+void AllStatus::SetThrottledTypes(ModelTypeSet types) {
ScopedStatusLock lock(this);
status_.throttled_types = types;
}
« no previous file with comments | « sync/engine/all_status.h ('k') | sync/engine/sync_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698