Index: chrome/browser/sync/protocol/proto_value_conversions.cc |
diff --git a/chrome/browser/sync/protocol/proto_value_conversions.cc b/chrome/browser/sync/protocol/proto_value_conversions.cc |
index 056e6df69e77ee48e817ba76fcda0cbb0cda290a..3dfa55d7da98e3574c493be08eab3248c29b5fdf 100644 |
--- a/chrome/browser/sync/protocol/proto_value_conversions.cc |
+++ b/chrome/browser/sync/protocol/proto_value_conversions.cc |
@@ -12,6 +12,7 @@ |
#include "base/string_number_conversions.h" |
#include "base/values.h" |
#include "chrome/browser/sync/protocol/app_notification_specifics.pb.h" |
+#include "chrome/browser/sync/protocol/app_setting_specifics.pb.h" |
#include "chrome/browser/sync/protocol/app_specifics.pb.h" |
#include "chrome/browser/sync/protocol/autofill_specifics.pb.h" |
#include "chrome/browser/sync/protocol/bookmark_specifics.pb.h" |
@@ -178,6 +179,13 @@ DictionaryValue* AppNotificationSpecificsToValue( |
return value; |
} |
+DictionaryValue* AppSettingSpecificsToValue( |
+ const sync_pb::AppSettingSpecifics& proto) { |
+ DictionaryValue* value = new DictionaryValue(); |
+ SET(extension_setting, ExtensionSettingSpecificsToValue); |
+ return value; |
+} |
+ |
DictionaryValue* AppSpecificsToValue( |
const sync_pb::AppSpecifics& proto) { |
DictionaryValue* value = new DictionaryValue(); |
@@ -260,13 +268,14 @@ DictionaryValue* NigoriSpecificsToValue( |
SET_BOOL(encrypt_autofill); |
SET_BOOL(encrypt_themes); |
SET_BOOL(encrypt_typed_urls); |
+ SET_BOOL(encrypt_extension_settings); |
SET_BOOL(encrypt_extensions); |
SET_BOOL(encrypt_sessions); |
+ SET_BOOL(encrypt_app_settings); |
SET_BOOL(encrypt_apps); |
SET_BOOL(encrypt_search_engines); |
SET_BOOL(sync_tabs); |
SET_BOOL(encrypt_everything); |
- SET_BOOL(encrypt_extension_settings); |
return value; |
} |
@@ -340,8 +349,9 @@ DictionaryValue* TypedUrlSpecificsToValue( |
DictionaryValue* EntitySpecificsToValue( |
const sync_pb::EntitySpecifics& specifics) { |
DictionaryValue* value = new DictionaryValue(); |
- SET_EXTENSION(sync_pb, app_notification, AppNotificationSpecificsToValue); |
SET_EXTENSION(sync_pb, app, AppSpecificsToValue); |
+ SET_EXTENSION(sync_pb, app_notification, AppNotificationSpecificsToValue); |
+ SET_EXTENSION(sync_pb, app_setting, AppSettingSpecificsToValue); |
SET_EXTENSION(sync_pb, autofill, AutofillSpecificsToValue); |
SET_EXTENSION(sync_pb, autofill_profile, AutofillProfileSpecificsToValue); |
SET_EXTENSION(sync_pb, bookmark, BookmarkSpecificsToValue); |