Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1048)

Unified Diff: chrome/browser/sync/profile_sync_service_android.cc

Issue 1110833002: [autofill] Sync server card and address metadata. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Work Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/profile_sync_service_android.cc
diff --git a/chrome/browser/sync/profile_sync_service_android.cc b/chrome/browser/sync/profile_sync_service_android.cc
index d8e536e1c8f8ca7187e84d91d7a38cfd3c8e5591..172cc935904c6e48d6e008955e0742e1f5c929bd 100644
--- a/chrome/browser/sync/profile_sync_service_android.cc
+++ b/chrome/browser/sync/profile_sync_service_android.cc
@@ -66,6 +66,7 @@ enum ModelTypeSelection {
SUPERVISED_USER_SETTING = 1 << 13,
SUPERVISED_USER_WHITELIST = 1 << 14,
AUTOFILL_WALLET = 1 << 15,
+ AUTOFILL_WALLET_METADATA = 1 << 16,
};
} // namespace
@@ -481,6 +482,9 @@ jlong ProfileSyncServiceAndroid::ModelTypeSetToSelection(
if (types.Has(syncer::AUTOFILL_WALLET_DATA)) {
model_type_selection |= AUTOFILL_WALLET;
}
+ if (types.Has(syncer::AUTOFILL_WALLET_METADATA)) {
+ model_type_selection |= AUTOFILL_WALLET_METADATA;
+ }
if (types.Has(syncer::PASSWORDS)) {
model_type_selection |= PASSWORD;
}

Powered by Google App Engine
This is Rietveld 408576698