summaryrefslogtreecommitdiffstats
path: root/sync/syncable
diff options
context:
space:
mode:
authorrouslan <rouslan@chromium.org>2016-03-17 16:16:56 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-17 23:17:55 +0000
commitc924e6daca48ca588062d674958e81fcdb75bb94 (patch)
tree359f2a55ba21bc44ba7f7aff634f5913083e5d9d /sync/syncable
parent96b1b55fa2851c0dce144badc3e29c9b63e2fccd (diff)
downloadchromium_src-c924e6daca48ca588062d674958e81fcdb75bb94.zip
chromium_src-c924e6daca48ca588062d674958e81fcdb75bb94.tar.gz
chromium_src-c924e6daca48ca588062d674958e81fcdb75bb94.tar.bz2
Fix autofill wallet metadata notification type.
Autofill wallet metadata notification identifier should be "WALLET_METADATA" instead of "AUTOFILL_WALLET_METADATA" on the client side to match the server side sync. The server uses the name of the protobuf WalletMetadataSpecifics to derive the identifier. This affects only wallet metadata update notifications. BUG=593546 Review URL: https://codereview.chromium.org/1806853006 Cr-Commit-Position: refs/heads/master@{#381828}
Diffstat (limited to 'sync/syncable')
-rw-r--r--sync/syncable/model_type.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sync/syncable/model_type.cc b/sync/syncable/model_type.cc
index 1043383..9219af2 100644
--- a/sync/syncable/model_type.cc
+++ b/sync/syncable/model_type.cc
@@ -60,7 +60,7 @@ const ModelTypeInfo kModelTypeInfoMap[] = {
{AUTOFILL_WALLET_DATA, "AUTOFILL_WALLET", "autofill_wallet",
"Autofill Wallet", sync_pb::EntitySpecifics::kAutofillWalletFieldNumber,
34},
- {AUTOFILL_WALLET_METADATA, "AUTOFILL_WALLET_METADATA",
+ {AUTOFILL_WALLET_METADATA, "WALLET_METADATA",
"autofill_wallet_metadata", "Autofill Wallet Metadata",
sync_pb::EntitySpecifics::kWalletMetadataFieldNumber, 35},
{THEMES, "THEME", "themes", "Themes",