Index: sync/syncable/nigori_util.cc |
diff --git a/sync/syncable/nigori_util.cc b/sync/syncable/nigori_util.cc |
index 584adff4c8b0e15fef07ebf55169d71c536b04df..ffa2599d55aa4ce07b66e109feac744c4d6b583a 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; |
} |