| Index: components/payments/payment_request_dialog.h
|
| diff --git a/components/payments/payment_request_dialog.h b/components/payments/payment_request_dialog.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3141b1dd3d45207030e657df428ee541b34e14eb
|
| --- /dev/null
|
| +++ b/components/payments/payment_request_dialog.h
|
| @@ -0,0 +1,22 @@
|
| +// 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 COMPONENTS_PAYMENTS_PAYMENT_REQUEST_DIALOG_H_
|
| +#define COMPONENTS_PAYMENTS_PAYMENT_REQUEST_DIALOG_H_
|
| +
|
| +namespace payments {
|
| +
|
| +// Used to interact with a cross-platform Payment Request dialog.
|
| +class PaymentRequestDialog {
|
| + public:
|
| + virtual ~PaymentRequestDialog() {}
|
| +
|
| + virtual void ShowDialog() = 0;
|
| +
|
| + virtual void CloseDialog() = 0;
|
| +};
|
| +
|
| +} // namespace payments
|
| +
|
| +#endif // COMPONENTS_PAYMENTS_PAYMENT_REQUEST_DIALOG_H_
|
|
|