| Index: components/payments/payment_request_delegate.h
|
| diff --git a/components/payments/payment_request_delegate.h b/components/payments/payment_request_delegate.h
|
| index 7854f699726b1151dc2d18211ccc47b66b58f094..756f4dc0f1bc8d2f32270caf132ab4debe41c91e 100644
|
| --- a/components/payments/payment_request_delegate.h
|
| +++ b/components/payments/payment_request_delegate.h
|
| @@ -5,6 +5,14 @@
|
| #ifndef COMPONENTS_PAYMENTS_PAYMENT_REQUEST_DELEGATE_H_
|
| #define COMPONENTS_PAYMENTS_PAYMENT_REQUEST_DELEGATE_H_
|
|
|
| +namespace autofill {
|
| +class PersonalDataManager;
|
| +}
|
| +
|
| +namespace content {
|
| +class WebContents;
|
| +}
|
| +
|
| namespace payments {
|
|
|
| class PaymentRequest;
|
| @@ -15,6 +23,10 @@ class PaymentRequestDelegate {
|
|
|
| // Shows the Payment Request dialog for the given |request|.
|
| virtual void ShowPaymentRequestDialog(PaymentRequest* request) = 0;
|
| +
|
| + // Gets the PersonalDataManager associated with |web_contents|'s profile.'
|
| + virtual autofill::PersonalDataManager* GetDataManagerFromWebContents(
|
| + content::WebContents* web_contents) = 0;
|
| };
|
|
|
| } // namespace payments
|
|
|