Index: sync/syncable/nigori_util.cc |
diff --git a/sync/syncable/nigori_util.cc b/sync/syncable/nigori_util.cc |
index 01aaa8609468165f586ab8ecf2dfb7bc10bd40de..94e517d37a9215f62dfdafa9296c2af06f0189e5 100644 |
--- a/sync/syncable/nigori_util.cc |
+++ b/sync/syncable/nigori_util.cc |
@@ -275,6 +275,7 @@ void UpdateNigoriFromEncryptedTypes(ModelTypeSet encrypted_types, |
nigori->set_encrypt_apps(encrypted_types.Has(APPS)); |
nigori->set_encrypt_app_notifications( |
encrypted_types.Has(APP_NOTIFICATIONS)); |
+ nigori->set_encrypt_dictionary(encrypted_types.Has(DICTIONARY)); |
} |
ModelTypeSet GetEncryptedTypesFromNigori( |
@@ -310,6 +311,8 @@ ModelTypeSet GetEncryptedTypesFromNigori( |
encrypted_types.Put(APPS); |
if (nigori.encrypt_app_notifications()) |
encrypted_types.Put(APP_NOTIFICATIONS); |
+ if (nigori.encrypt_dictionary()) |
+ encrypted_types.Put(DICTIONARY); |
return encrypted_types; |
} |