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

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

Issue 2701923003: [Payment Request] Error message screen (Closed)
Patch Set: Addressed comments Created 3 years, 10 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_coordinator.h
diff --git a/ios/chrome/browser/payments/payment_request_coordinator.h b/ios/chrome/browser/payments/payment_request_coordinator.h
index b2e1d9a0dcb7958b772b769db1ee2d1ef5518db0..ff99043eb148f5758c1e66e44a0a91a76f1ee77f 100644
--- a/ios/chrome/browser/payments/payment_request_coordinator.h
+++ b/ios/chrome/browser/payments/payment_request_coordinator.h
@@ -12,6 +12,7 @@
#import "ios/chrome/browser/payments/payment_items_display_coordinator.h"
#import "ios/chrome/browser/payments/payment_method_selection_coordinator.h"
#include "ios/chrome/browser/payments/payment_request.h"
+#include "ios/chrome/browser/payments/payment_request_error_coordinator.h"
#import "ios/chrome/browser/payments/payment_request_view_controller.h"
#import "ios/chrome/browser/payments/shipping_address_selection_coordinator.h"
#import "ios/chrome/browser/payments/shipping_option_selection_coordinator.h"
@@ -48,6 +49,7 @@ class ChromeBrowserState;
// provided in the initializer.
@interface PaymentRequestCoordinator
: ChromeCoordinator<PaymentRequestViewControllerDelegate,
+ PaymentRequestErrorCoordinatorDelegate,
PaymentItemsDisplayCoordinatorDelegate,
PaymentMethodSelectionCoordinatorDelegate,
ShippingAddressSelectionCoordinatorDelegate,
@@ -89,6 +91,9 @@ class ChromeBrowserState;
// Updates the payment details of the PaymentRequest and updates the UI.
- (void)updatePaymentDetails:(web::PaymentDetails)paymentDetails;
+// Displays an error message. Invokes |callback| when the message is dismissed.
+- (void)displayErrorWithCallback:(void (^)())callback;
+
// Called when a credit card has been successfully unmasked.
- (void)fullCardRequestDidSucceedWithCard:(const autofill::CreditCard&)card
CVC:(const base::string16&)cvc;

Powered by Google App Engine
This is Rietveld 408576698