Index: chrome/browser/sync/util/cryptographer.cc |
diff --git a/chrome/browser/sync/util/cryptographer.cc b/chrome/browser/sync/util/cryptographer.cc |
index 9b78901cdfec9a91b6bd730ce0eb204de16d9e51..f7ac50e334f10a1360b740cde4bfcdb7a463c0ab 100644 |
--- a/chrome/browser/sync/util/cryptographer.cc |
+++ b/chrome/browser/sync/util/cryptographer.cc |
@@ -310,6 +310,8 @@ void Cryptographer::UpdateEncryptedTypesFromNigori( |
encrypted_types.insert(syncable::SEARCH_ENGINES); |
if (nigori.encrypt_sessions()) |
encrypted_types.insert(syncable::SESSIONS); |
+ if (nigori.encrypt_app_settings()) |
+ encrypted_types.insert(syncable::APP_SETTINGS); |
if (nigori.encrypt_apps()) |
encrypted_types.insert(syncable::APPS); |
if (nigori.encrypt_app_notifications()) |
@@ -347,6 +349,8 @@ void Cryptographer::UpdateNigoriFromEncryptedTypes( |
nigori->set_encrypt_search_engines( |
encrypted_types_.count(syncable::SEARCH_ENGINES) > 0); |
nigori->set_encrypt_sessions(encrypted_types_.count(syncable::SESSIONS) > 0); |
+ nigori->set_encrypt_app_settings( |
+ encrypted_types_.count(syncable::APP_SETTINGS) > 0); |
nigori->set_encrypt_apps(encrypted_types_.count(syncable::APPS) > 0); |
nigori->set_encrypt_app_notifications( |
encrypted_types_.count(syncable::APP_NOTIFICATIONS) > 0); |