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 2057aeb587fb97501ff7e52c30eb2193e72ccd63..39ee68f5398e5a6ac3122696408dc08051604658 100644 |
--- a/chrome/browser/payments/payment_request_impl.h |
+++ b/chrome/browser/payments/payment_request_impl.h |
@@ -14,8 +14,6 @@ class WebContents; |
namespace payments { |
-class PaymentRequestDialog; |
- |
class PaymentRequestImpl : payments::mojom::PaymentRequest, |
public base::RefCounted<PaymentRequestImpl> { |
public: |
@@ -34,15 +32,19 @@ class PaymentRequestImpl : payments::mojom::PaymentRequest, |
void Complete(payments::mojom::PaymentComplete result) override {} |
void CanMakePayment() 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); |
}; |