| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef COMPONENTS_PAYMENTS_PAYMENT_REQUEST_DELEGATE_H_ |
| 6 #define COMPONENTS_PAYMENTS_PAYMENT_REQUEST_DELEGATE_H_ |
| 7 |
| 8 namespace payments { |
| 9 |
| 10 class PaymentRequest; |
| 11 |
| 12 class PaymentRequestDelegate { |
| 13 public: |
| 14 virtual ~PaymentRequestDelegate() {} |
| 15 |
| 16 // Shows the Payment Request dialog for the given |request|. |
| 17 virtual void ShowPaymentRequestDialog(PaymentRequest* request) = 0; |
| 18 }; |
| 19 |
| 20 } // namespace payments |
| 21 |
| 22 #endif // COMPONENTS_PAYMENTS_PAYMENT_REQUEST_DELEGATE_H_ |
| OLD | NEW |