| Index: chrome/browser/payments/payment_request_impl.h
|
| diff --git a/chrome/browser/payments/payment_request_impl.h b/chrome/browser/payments/payment_request_impl.h
|
| index fdc3d47558748d4a538065a5afc8245e1a01bdd9..d03d964153e51fef68533327d7da8bee8497e692 100644
|
| --- a/chrome/browser/payments/payment_request_impl.h
|
| +++ b/chrome/browser/payments/payment_request_impl.h
|
| @@ -34,15 +34,19 @@ class PaymentRequestImpl : payments::mojom::PaymentRequest,
|
| void Complete(payments::mojom::PaymentComplete result) override {}
|
| void CanMakeActivePayment() override {}
|
|
|
| + void Cancel();
|
| void OnError();
|
|
|
| + content::WebContents* web_contents() { return web_contents_; }
|
| +
|
| private:
|
| friend class base::RefCounted<PaymentRequestImpl>;
|
| ~PaymentRequestImpl() override;
|
|
|
| content::WebContents* web_contents_;
|
| mojo::Binding<payments::mojom::PaymentRequest> binding_;
|
| - PaymentRequestDialog* dialog_;
|
| + payments::mojom::PaymentRequestClientPtr client_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(PaymentRequestImpl);
|
| };
|
|
|
|
|