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

Unified Diff: components/sync/protocol/autofill_specifics.proto

Issue 2634663002: Add WalletCardClass to WalletMaskedCreditCard (Closed)
Patch Set: Add WalletCardClass to proto_enum_conversions files Created 3 years, 11 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
« no previous file with comments | « no previous file | components/sync/protocol/proto_enum_conversions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/protocol/autofill_specifics.proto
diff --git a/components/sync/protocol/autofill_specifics.proto b/components/sync/protocol/autofill_specifics.proto
index 9499a45fdaa1bb8ea07dea6f538b4e2cdbc4b209..eb0f88784a2d0a04d8ec9a363c5241e2fab98a3e 100644
--- a/components/sync/protocol/autofill_specifics.proto
+++ b/components/sync/protocol/autofill_specifics.proto
@@ -92,6 +92,13 @@ message WalletMaskedCreditCard {
VISA = 8;
}
+ enum WalletCardClass {
+ UNKNOWN_CARD_CLASS = 0;
+ CREDIT = 1;
+ DEBIT = 2;
+ PREPAID = 3;
+ }
+
// Server-generated unique ID string. This is opaque to the client.
optional string id = 1;
@@ -113,6 +120,9 @@ message WalletMaskedCreditCard {
// The WalletPostalAddress.id of the billing address.
optional string billing_address_id = 8;
+
+ // Card class: credit, debit, or prepaid.
+ optional WalletCardClass card_class = 9;
}
// Different than an AutofillProfile because this represents some known address
« no previous file with comments | « no previous file | components/sync/protocol/proto_enum_conversions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698