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

Unified Diff: ios/chrome/browser/payments/payment_request_util.h

Issue 2733953003: [Payments] Return a basic card response (Closed)
Patch Set: addressed comments from anthony Created 3 years, 9 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: ios/chrome/browser/payments/payment_request_util.h
diff --git a/ios/chrome/browser/payments/payment_request_util.h b/ios/chrome/browser/payments/payment_request_util.h
index f247e9aafab5bed40aa46025c9626823153fc016..5e5bdf243a5e4a414d4164fff87d65967d5a1244 100644
--- a/ios/chrome/browser/payments/payment_request_util.h
+++ b/ios/chrome/browser/payments/payment_request_util.h
@@ -11,14 +11,8 @@
namespace autofill {
class AutofillProfile;
-class CreditCard;
} // namespace autofill
-namespace web {
-class BasicCardResponse;
-class PaymentAddress;
-} // namespace web
-
class PaymentRequest;
namespace payment_request_util {
@@ -43,18 +37,6 @@ NSString* GetPhoneNumberLabelFromAutofillProfile(
NSString* GetEmailLabelFromAutofillProfile(
const autofill::AutofillProfile& profile);
-// Helper function to get an instance of web::PaymentAddress from an autofill
-// profile.
-web::PaymentAddress GetPaymentAddressFromAutofillProfile(
- const autofill::AutofillProfile& profile);
-
-// Helper function to get an instance of web::BasicCardResponse from an autofill
-// credit card.
-web::BasicCardResponse GetBasicCardResponseFromAutofillCreditCard(
- const PaymentRequest& payment_request,
- const autofill::CreditCard& card,
- const base::string16& cvc);
-
// Returns the title for the shipping section of the payment summary view given
// the shipping type specified in |payment_request|.
NSString* GetShippingSectionTitle(const PaymentRequest& payment_request);
« no previous file with comments | « ios/chrome/browser/payments/payment_request_manager.mm ('k') | ios/chrome/browser/payments/payment_request_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698