| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 COMPONENTS_PAYMENTS_PAYMENT_REQUEST_DIALOG_H_ | 5 #ifndef COMPONENTS_PAYMENTS_CONTENT_PAYMENT_REQUEST_DIALOG_H_ |
| 6 #define COMPONENTS_PAYMENTS_PAYMENT_REQUEST_DIALOG_H_ | 6 #define COMPONENTS_PAYMENTS_CONTENT_PAYMENT_REQUEST_DIALOG_H_ |
| 7 | 7 |
| 8 namespace payments { | 8 namespace payments { |
| 9 | 9 |
| 10 // Used to interact with a cross-platform Payment Request dialog. | 10 // Used to interact with a cross-platform Payment Request dialog. |
| 11 class PaymentRequestDialog { | 11 class PaymentRequestDialog { |
| 12 public: | 12 public: |
| 13 virtual ~PaymentRequestDialog() {} | 13 virtual ~PaymentRequestDialog() {} |
| 14 | 14 |
| 15 virtual void ShowDialog() = 0; | 15 virtual void ShowDialog() = 0; |
| 16 | 16 |
| 17 virtual void CloseDialog() = 0; | 17 virtual void CloseDialog() = 0; |
| 18 }; | 18 }; |
| 19 | 19 |
| 20 } // namespace payments | 20 } // namespace payments |
| 21 | 21 |
| 22 #endif // COMPONENTS_PAYMENTS_PAYMENT_REQUEST_DIALOG_H_ | 22 #endif // COMPONENTS_PAYMENTS_CONTENT_PAYMENT_REQUEST_DIALOG_H_ |
| OLD | NEW |