Index: ios/chrome/browser/payments/payment_request_view_controller_actions.h |
diff --git a/ios/chrome/browser/payments/payment_request_view_controller_actions.h b/ios/chrome/browser/payments/payment_request_view_controller_actions.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6f7f0eaf104e88a0aab05409310e9b2d220a6dc9 |
--- /dev/null |
+++ b/ios/chrome/browser/payments/payment_request_view_controller_actions.h |
@@ -0,0 +1,19 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_VIEW_CONTROLLER_ACTIONS_H_ |
+#define IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_VIEW_CONTROLLER_ACTIONS_H_ |
+ |
+// Protocol handling the actions sent in the PaymentRequestViewController. |
+@protocol PaymentRequestViewControllerActions |
+ |
+// Called when the user presses the cancel button. |
+- (void)onCancel; |
+ |
+// Called when the user presses the confirm button. |
+- (void)onConfirm; |
+ |
+@end |
+ |
+#endif // IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_VIEW_CONTROLLER_ACTIONS_H_ |