| 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 82e736412e24fb16fe609dfd0732d85633ae03d6..0201a9cf26dde1bbc86aa6437a66d6f967bb153b 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"
|
| @@ -186,6 +187,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();
|
| @@ -269,13 +277,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;
|
| }
|
|
|
| @@ -349,8 +358,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);
|
|
|