| Index: chrome/browser/payments/chrome_payment_request_delegate.h
|
| diff --git a/chrome/browser/payments/chrome_payment_request_delegate.h b/chrome/browser/payments/chrome_payment_request_delegate.h
|
| index 2a9bd28b70c4782203a8ed56a80aced26edcc539..4f54fb5f47d6fc067ede1df71e7f36927908744f 100644
|
| --- a/chrome/browser/payments/chrome_payment_request_delegate.h
|
| +++ b/chrome/browser/payments/chrome_payment_request_delegate.h
|
| @@ -8,18 +8,26 @@
|
| #include "base/macros.h"
|
| #include "components/payments/payment_request_delegate.h"
|
|
|
| +namespace content {
|
| +class WebContents;
|
| +}
|
| +
|
| namespace payments {
|
|
|
| class PaymentRequest;
|
|
|
| class ChromePaymentRequestDelegate : public PaymentRequestDelegate {
|
| public:
|
| - ChromePaymentRequestDelegate() {}
|
| + explicit ChromePaymentRequestDelegate(content::WebContents* web_contents);
|
| ~ChromePaymentRequestDelegate() override {}
|
|
|
| void ShowPaymentRequestDialog(PaymentRequest* request) override;
|
| + autofill::PersonalDataManager* GetPersonalDataManager() override;
|
|
|
| private:
|
| + // Not owned but outlives the PaymentRequest object that owns this.
|
| + content::WebContents* web_contents_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ChromePaymentRequestDelegate);
|
| };
|
|
|
|
|