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

Unified Diff: ios/chrome/browser/ui/payments/payment_request_coordinator.h

Issue 2866793002: [Payment Request] Refactors PaymentRequestCoordinator. (Closed)
Patch Set: Reformats selector. Created 3 years, 7 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/ui/payments/payment_request_coordinator.h
diff --git a/ios/chrome/browser/ui/payments/payment_request_coordinator.h b/ios/chrome/browser/ui/payments/payment_request_coordinator.h
index 938259a2aba7bb2c1286ff9300098265de68233b..e0750cc36a7d49b650b983328a8dc08a949f4230 100644
--- a/ios/chrome/browser/ui/payments/payment_request_coordinator.h
+++ b/ios/chrome/browser/ui/payments/payment_request_coordinator.h
@@ -34,7 +34,6 @@ struct PaymentAddress;
namespace web {
class PaymentDetails;
class PaymentShippingOption;
-class PaymentResponse;
} // namespace web
@class PaymentRequestCoordinator;
@@ -51,9 +50,11 @@ class PaymentResponse;
- (void)paymentRequestCoordinatorDidSelectSettings:
(PaymentRequestCoordinator*)coordinator;
-// Notifies the delegate that the user has confirmed the payment request.
+// Notifies the delegate that the user has completed the payment request.
- (void)paymentRequestCoordinator:(PaymentRequestCoordinator*)coordinator
- didConfirmWithPaymentResponse:(web::PaymentResponse)paymentResponse;
+ didCompletePaymentRequest:(PaymentRequest*)paymentRequest
+ card:(const autofill::CreditCard&)card
+ verificationCode:(const base::string16&)verificationCode;
// Notifies the delegate that the user has selected a shipping address.
- (void)paymentRequestCoordinator:(PaymentRequestCoordinator*)coordinator
@@ -115,7 +116,8 @@ class PaymentResponse;
// |paymentRequest|, because CVC unmasking process may update the credit card
// number and expiration date.
- (void)fullCardRequestDidSucceedWithCard:(const autofill::CreditCard&)card
- CVC:(const base::string16&)cvc;
+ verificationCode:
+ (const base::string16&)verificationCode;
@end
« no previous file with comments | « ios/chrome/browser/ui/payments/BUILD.gn ('k') | ios/chrome/browser/ui/payments/payment_request_coordinator.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698