Index: sync/syncable/nigori_util.cc |
diff --git a/sync/syncable/nigori_util.cc b/sync/syncable/nigori_util.cc |
index 63dbcac9ee55dcffc356e0778bedfb1df6bd9d11..eaf9eca7513d7190e1938ea452b20d357af94493 100644 |
--- a/sync/syncable/nigori_util.cc |
+++ b/sync/syncable/nigori_util.cc |
@@ -243,7 +243,7 @@ void UpdateNigoriFromEncryptedTypes(ModelTypeSet encrypted_types, |
bool encrypt_everything, |
sync_pb::NigoriSpecifics* nigori) { |
nigori->set_encrypt_everything(encrypt_everything); |
- COMPILE_ASSERT(32 == MODEL_TYPE_COUNT, UpdateEncryptedTypes); |
+ COMPILE_ASSERT(33 == MODEL_TYPE_COUNT, UpdateEncryptedTypes); |
nigori->set_encrypt_bookmarks( |
encrypted_types.Has(BOOKMARKS)); |
nigori->set_encrypt_preferences( |
@@ -279,7 +279,7 @@ ModelTypeSet GetEncryptedTypesFromNigori( |
return ModelTypeSet::All(); |
ModelTypeSet encrypted_types; |
- COMPILE_ASSERT(32 == MODEL_TYPE_COUNT, UpdateEncryptedTypes); |
+ COMPILE_ASSERT(33 == MODEL_TYPE_COUNT, UpdateEncryptedTypes); |
if (nigori.encrypt_bookmarks()) |
encrypted_types.Put(BOOKMARKS); |
if (nigori.encrypt_preferences()) |