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

Unified Diff: chrome/browser/sync/protocol/proto_value_conversions.cc

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
Index: chrome/browser/sync/protocol/proto_value_conversions.cc
diff --git a/chrome/browser/sync/protocol/proto_value_conversions.cc b/chrome/browser/sync/protocol/proto_value_conversions.cc
index 8dff26e3677f6fe418b633a59073bad725fa58de..753f568df8baf5b0b62daff00a0f16dc13916b92 100644
--- a/chrome/browser/sync/protocol/proto_value_conversions.cc
+++ b/chrome/browser/sync/protocol/proto_value_conversions.cc
@@ -175,23 +175,6 @@ DictionaryValue* AutofillSpecificsToValue(
SET_STR(value);
SET_INT64_REP(usage_timestamp);
SET(profile, AutofillProfileSpecificsToValue);
- SET_BYTES(encrypted_credit_card);
- SET(credit_card, AutofillCreditCardSpecificsToValue);
- return value;
-}
-
-DictionaryValue* AutofillCreditCardSpecificsToValue(
- const sync_pb::AutofillCreditCardSpecifics& proto) {
- DictionaryValue* value = new DictionaryValue();
- SET_STR(label);
- SET_STR(name_on_card);
- SET_STR(type);
- SET_STR(card_number);
- SET_STR(expiration_month);
- SET_STR(expiration_year);
- SET_STR(verification_code);
- SET_STR(billing_address);
- SET_STR(shipping_address);
return value;
}

Powered by Google App Engine
This is Rietveld 408576698