Index: ios/chrome/browser/payments/payment_request_error_view_controller_actions.h |
diff --git a/ios/chrome/browser/payments/payment_request_error_view_controller_actions.h b/ios/chrome/browser/payments/payment_request_error_view_controller_actions.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b3a898a97f39487c6b02b082776e0b809ddeb320 |
--- /dev/null |
+++ b/ios/chrome/browser/payments/payment_request_error_view_controller_actions.h |
@@ -0,0 +1,16 @@ |
+// 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_ERROR_VIEW_CONTROLLER_ACTIONS_H_ |
+#define IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_ERROR_VIEW_CONTROLLER_ACTIONS_H_ |
+ |
+// Protocol handling the actions sent in the PaymentRequestErrorViewController. |
+@protocol PaymentRequestErrorViewControllerActions |
+ |
+// Called when the user presses the ok button. |
+- (void)onOk; |
+ |
+@end |
+ |
+#endif // IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_ERROR_VIEW_CONTROLLER_ACTIONS_H_ |