| Index: chrome/browser/payments/chrome_payment_request_delegate.cc
|
| diff --git a/chrome/browser/payments/chrome_payment_request_delegate.cc b/chrome/browser/payments/chrome_payment_request_delegate.cc
|
| index 236cbcafac571a481bce53918da107408935a129..98dda7d7ffc5d9f35730005c1a3ad24ecbccaf0a 100644
|
| --- a/chrome/browser/payments/chrome_payment_request_delegate.cc
|
| +++ b/chrome/browser/payments/chrome_payment_request_delegate.cc
|
| @@ -4,11 +4,12 @@
|
|
|
| #include "chrome/browser/payments/chrome_payment_request_delegate.h"
|
|
|
| -#include "base/macros.h"
|
| #include "chrome/browser/autofill/personal_data_manager_factory.h"
|
| #include "chrome/browser/browser_process.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/ui/browser_dialogs.h"
|
| +#include "components/autofill/content/browser/content_autofill_driver.h"
|
| +#include "components/autofill/content/browser/content_autofill_driver_factory.h"
|
| #include "components/payments/content/payment_request_dialog.h"
|
| #include "content/public/browser/web_contents.h"
|
|
|
| @@ -52,4 +53,15 @@ bool ChromePaymentRequestDelegate::IsIncognito() const {
|
| return profile && profile->GetProfileType() == Profile::INCOGNITO_PROFILE;
|
| }
|
|
|
| +void ChromePaymentRequestDelegate::DoFullCardRequest(
|
| + const autofill::CreditCard& credit_card,
|
| + base::WeakPtr<autofill::payments::FullCardRequest::ResultDelegate>
|
| + result_delegate) {
|
| + dialog_->ShowCvcUnmaskPrompt(credit_card, result_delegate);
|
| +}
|
| +
|
| +content::WebContents* ChromePaymentRequestDelegate::GetWebContents() {
|
| + return web_contents_;
|
| +}
|
| +
|
| } // namespace payments
|
|
|