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

Unified Diff: chrome/browser/sync/engine/syncer_util.cc

Issue 8851006: [Sync] Replace all instances of ModelTypeSet with ModelEnumSet (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup pass #2 Created 9 years 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 | « chrome/browser/sync/engine/syncer_unittest.cc ('k') | chrome/browser/sync/failed_datatypes_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/engine/syncer_util.cc
diff --git a/chrome/browser/sync/engine/syncer_util.cc b/chrome/browser/sync/engine/syncer_util.cc
index 9ffe6dde9f5fc5fd368b9e248aea6331c5349cc8..77551d918a312179fea7ce4d9658f9239711b0e7 100644
--- a/chrome/browser/sync/engine/syncer_util.cc
+++ b/chrome/browser/sync/engine/syncer_util.cc
@@ -299,7 +299,7 @@ UpdateAttemptResponse SyncerUtil::AttemptToUpdateEntry(
cryptographer->Update(nigori);
// Make sure any unsynced changes are properly encrypted as necessary.
- syncable::ModelTypeSet encrypted_types =
+ const syncable::ModelEnumSet encrypted_types =
cryptographer->GetEncryptedTypes();
if (!VerifyUnsyncedChangesAreEncrypted(trans, encrypted_types) &&
(!cryptographer->is_ready() ||
« no previous file with comments | « chrome/browser/sync/engine/syncer_unittest.cc ('k') | chrome/browser/sync/failed_datatypes_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698