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

Unified Diff: chrome/browser/sync/protocol/autofill_specifics.proto

Issue 7608032: [Sync] Remove AutofillCreditCard specifics (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix tests Created 9 years, 4 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 | chrome/browser/sync/protocol/proto_value_conversions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/protocol/autofill_specifics.proto
diff --git a/chrome/browser/sync/protocol/autofill_specifics.proto b/chrome/browser/sync/protocol/autofill_specifics.proto
index 17b50b446cbde66224e982d90a05d9302574e7e9..907fca4ff0ac1da995e31b13e57b6803bc603b3a 100644
--- a/chrome/browser/sync/protocol/autofill_specifics.proto
+++ b/chrome/browser/sync/protocol/autofill_specifics.proto
@@ -45,33 +45,6 @@ message AutofillProfileSpecifics {
optional string phone_fax_whole_number = 14;
}
-message AutofillCreditCardSpecifics {
- // User-defined label (e.g. Amazon Visa).
- optional string label = 1;
-
- // The cardholder's name.
- optional string name_on_card = 2;
-
- // The type, e.g. Mastercard.
- optional string type = 3;
-
- // The credit card number.
- optional string card_number = 4;
-
- // The expiration.
- optional string expiration_month = 5;
- optional string expiration_year = 6;
-
- // The CVV.
- optional string verification_code = 7;
-
- // The label of the Autofill profile that contains the billing address.
- optional string billing_address = 8;
-
- // The label of the Autofill profile that contains the shipping address.
- optional string shipping_address = 9;
-}
-
message AutofillSpecifics {
// If any of these 3 fields are present, then all 3 should be, and it implies
// that this entity represents a classic autofill object. In this case,
@@ -85,16 +58,9 @@ message AutofillSpecifics {
// name/value or credit_card) should be present.
optional AutofillProfileSpecifics profile = 4;
- // An AutofillCreditCardSpecifics, encryped using Nigori (see Chromium's
- // base/nigori.h for details). If present, indicates this entity represents
- // an autofill++ CreditCard, and no other fields should be present.
- // If encryption for autofill++ is not enabled, this is unused. See
- // |credit_card| in that case.
- optional bytes encrypted_credit_card = 5;
-
- // If encryption for autofill++ is not enabled, this field stores the
- // AutofillCreditCardSpecifics [instead of |encrypted_credit_card|].
- optional AutofillCreditCardSpecifics credit_card = 6;
+ // Obsolete credit card fields.
+ // optional bytes deprecated_encrypted_credit_card = 5;
+ // optional AutofillCreditCardSpecifics deprecated_credit_card = 6;
}
extend EntitySpecifics {
« no previous file with comments | « no previous file | chrome/browser/sync/protocol/proto_value_conversions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698