| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_METHOD_SELECTION_COORDINATOR_H_ | 5 #ifndef IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_METHOD_SELECTION_COORDINATOR_H_ |
| 6 #define IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_METHOD_SELECTION_COORDINATOR_H_ | 6 #define IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_METHOD_SELECTION_COORDINATOR_H_ |
| 7 | 7 |
| 8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 @interface PaymentMethodSelectionCoordinator | 39 @interface PaymentMethodSelectionCoordinator |
| 40 : ChromeCoordinator<PaymentMethodSelectionViewControllerDelegate> | 40 : ChromeCoordinator<PaymentMethodSelectionViewControllerDelegate> |
| 41 | 41 |
| 42 // The PaymentRequest object owning an instance of web::PaymentRequest as | 42 // The PaymentRequest object owning an instance of web::PaymentRequest as |
| 43 // provided by the page invoking the Payment Request API. This pointer is not | 43 // provided by the page invoking the Payment Request API. This pointer is not |
| 44 // owned by this class and should outlive it. | 44 // owned by this class and should outlive it. |
| 45 @property(nonatomic, assign) PaymentRequest* paymentRequest; | 45 @property(nonatomic, assign) PaymentRequest* paymentRequest; |
| 46 | 46 |
| 47 // The delegate to be notified when the user selects a payment method or returns | 47 // The delegate to be notified when the user selects a payment method or returns |
| 48 // without selecting a payment method. | 48 // without selecting a payment method. |
| 49 @property(nonatomic, weak) id<PaymentMethodSelectionCoordinatorDelegate> | 49 @property(nonatomic, weak) |
| 50 delegate; | 50 id<PaymentMethodSelectionCoordinatorDelegate> delegate; |
| 51 | 51 |
| 52 @end | 52 @end |
| 53 | 53 |
| 54 #endif // IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_METHOD_SELECTION_COORDINATOR_H_ | 54 #endif // IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_METHOD_SELECTION_COORDINATOR_H_ |
| OLD | NEW |