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

Unified Diff: components/payments/core/payment_request_data_util.h

Issue 2842463002: [Payments] Normalize billing address for response on Desktop. (Closed)
Patch Set: Keep the old version for iOS Created 3 years, 8 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: components/payments/core/payment_request_data_util.h
diff --git a/components/payments/core/payment_request_data_util.h b/components/payments/core/payment_request_data_util.h
index e69807fb8c237d22e44851bd0b6d8f99b03c05d2..dfe76923498a3c1b231c41fd706aff69e3110e9f 100644
--- a/components/payments/core/payment_request_data_util.h
+++ b/components/payments/core/payment_request_data_util.h
@@ -35,6 +35,13 @@ PaymentAddress GetPaymentAddressFromAutofillProfile(
BasicCardResponse GetBasicCardResponseFromAutofillCreditCard(
const autofill::CreditCard& card,
const base::string16& cvc,
+ const autofill::AutofillProfile& billing_profile,
+ const std::string& app_locale);
+// TODO(crbug.com/714655): Once the billing address is checked in the instrument
Mathieu 2017/04/24 19:42:09 not sure I like this fork very much. can you move
sebsg 2017/04/25 17:36:44 Done.
+// on iOS, remove this.
+BasicCardResponse GetBasicCardResponseFromAutofillCreditCard(
+ const autofill::CreditCard& card,
+ const base::string16& cvc,
const std::vector<autofill::AutofillProfile*>& billing_profiles,
const std::string& app_locale);

Powered by Google App Engine
This is Rietveld 408576698