| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Keep this file in sync with the .proto files in this directory. | 5 // Keep this file in sync with the .proto files in this directory. |
| 6 | 6 |
| 7 #include "sync/protocol/proto_value_conversions.h" | 7 #include "sync/protocol/proto_value_conversions.h" |
| 8 | 8 |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 434 scoped_ptr<base::DictionaryValue> ExperimentsSpecificsToValue( | 434 scoped_ptr<base::DictionaryValue> ExperimentsSpecificsToValue( |
| 435 const sync_pb::ExperimentsSpecifics& proto) { | 435 const sync_pb::ExperimentsSpecifics& proto) { |
| 436 scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); | 436 scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); |
| 437 SET_EXPERIMENT_ENABLED_FIELD(keystore_encryption); | 437 SET_EXPERIMENT_ENABLED_FIELD(keystore_encryption); |
| 438 SET_EXPERIMENT_ENABLED_FIELD(history_delete_directives); | 438 SET_EXPERIMENT_ENABLED_FIELD(history_delete_directives); |
| 439 SET_EXPERIMENT_ENABLED_FIELD(autofill_culling); | 439 SET_EXPERIMENT_ENABLED_FIELD(autofill_culling); |
| 440 SET_EXPERIMENT_ENABLED_FIELD(pre_commit_update_avoidance); | 440 SET_EXPERIMENT_ENABLED_FIELD(pre_commit_update_avoidance); |
| 441 SET(favicon_sync, FaviconSyncFlagsToValue); | 441 SET(favicon_sync, FaviconSyncFlagsToValue); |
| 442 SET_EXPERIMENT_ENABLED_FIELD(gcm_channel); | 442 SET_EXPERIMENT_ENABLED_FIELD(gcm_channel); |
| 443 SET_EXPERIMENT_ENABLED_FIELD(gcm_invalidations); | 443 SET_EXPERIMENT_ENABLED_FIELD(gcm_invalidations); |
| 444 SET_EXPERIMENT_ENABLED_FIELD(wallet_sync); | |
| 445 return value; | 444 return value; |
| 446 } | 445 } |
| 447 | 446 |
| 448 scoped_ptr<base::DictionaryValue> ExtensionSettingSpecificsToValue( | 447 scoped_ptr<base::DictionaryValue> ExtensionSettingSpecificsToValue( |
| 449 const sync_pb::ExtensionSettingSpecifics& proto) { | 448 const sync_pb::ExtensionSettingSpecifics& proto) { |
| 450 scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); | 449 scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); |
| 451 SET_STR(extension_id); | 450 SET_STR(extension_id); |
| 452 SET_STR(key); | 451 SET_STR(key); |
| 453 SET_STR(value); | 452 SET_STR(value); |
| 454 return value; | 453 return value; |
| (...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1075 #undef SET_BYTES | 1074 #undef SET_BYTES |
| 1076 #undef SET_INT32 | 1075 #undef SET_INT32 |
| 1077 #undef SET_INT64 | 1076 #undef SET_INT64 |
| 1078 #undef SET_INT64_REP | 1077 #undef SET_INT64_REP |
| 1079 #undef SET_STR | 1078 #undef SET_STR |
| 1080 #undef SET_STR_REP | 1079 #undef SET_STR_REP |
| 1081 | 1080 |
| 1082 #undef SET_FIELD | 1081 #undef SET_FIELD |
| 1083 | 1082 |
| 1084 } // namespace syncer | 1083 } // namespace syncer |
| OLD | NEW |