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

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

Issue 2959133002: [Payment Request] unit tests for the FullCardRequester (Closed)
Patch Set: Created 3 years, 6 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 7bc8165ab2efdd465b6aa66c623c48a32baac77a..2e28eb40a09d68346c62f68794375ee126fda463 100644
--- a/ios/chrome/browser/ui/payments/payment_request_coordinator.h
+++ b/ios/chrome/browser/ui/payments/payment_request_coordinator.h
@@ -14,6 +14,7 @@
#import "ios/chrome/browser/ui/payments/contact_info_edit_coordinator.h"
#import "ios/chrome/browser/ui/payments/contact_info_selection_coordinator.h"
#import "ios/chrome/browser/ui/payments/credit_card_edit_coordinator.h"
+#include "ios/chrome/browser/ui/payments/full_card_requester.h"
#import "ios/chrome/browser/ui/payments/payment_items_display_coordinator.h"
#import "ios/chrome/browser/ui/payments/payment_method_selection_coordinator.h"
#include "ios/chrome/browser/ui/payments/payment_request_error_coordinator.h"
@@ -77,6 +78,7 @@ class PaymentShippingOption;
ContactInfoEditCoordinatorDelegate,
ContactInfoSelectionCoordinatorDelegate,
CreditCardEditCoordinatorDelegate,
+ FullCardRequesterConsumer,
PaymentItemsDisplayCoordinatorDelegate,
PaymentMethodSelectionCoordinatorDelegate,
PaymentRequestErrorCoordinatorDelegate,
@@ -121,14 +123,6 @@ class PaymentShippingOption;
// Displays an error message. Invokes |callback| when the message is dismissed.
- (void)displayErrorWithCallback:(ProceduralBlock)callback;
-// Called when a credit card has been successfully unmasked. Note that |card|
-// may be different from what's returned by the selected_credit_card() method of
-// |paymentRequest|, because CVC unmasking process may update the credit card
-// number and expiration date.
-- (void)fullCardRequestDidSucceedWithCard:(const autofill::CreditCard&)card
- verificationCode:
- (const base::string16&)verificationCode;
-
@end
#endif // IOS_CHROME_BROWSER_UI_PAYMENTS_PAYMENT_REQUEST_COORDINATOR_H_

Powered by Google App Engine
This is Rietveld 408576698