| Index: chrome/browser/ui/autofill/chrome_autofill_client.h
|
| diff --git a/chrome/browser/ui/autofill/chrome_autofill_client.h b/chrome/browser/ui/autofill/chrome_autofill_client.h
|
| index 772119c21355df5002c502bfac682c3a9f34b2d9..cc4901bce31b7571547f432647e922f2998892ac 100644
|
| --- a/chrome/browser/ui/autofill/chrome_autofill_client.h
|
| +++ b/chrome/browser/ui/autofill/chrome_autofill_client.h
|
| @@ -8,6 +8,7 @@
|
| #include "base/callback.h"
|
| #include "base/compiler_specific.h"
|
| #include "base/i18n/rtl.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "chrome/browser/ui/zoom/zoom_observer.h"
|
| #include "components/autofill/core/browser/autofill_client.h"
|
| @@ -26,6 +27,7 @@ class AutofillDialogController;
|
| class AutofillKeystoneBridgeWrapper;
|
| class AutofillPopupControllerImpl;
|
| class CreditCardScannerController;
|
| +class InstrumentUnmaskPromptView;
|
| struct FormData;
|
|
|
| // Chrome implementation of AutofillClient.
|
| @@ -46,6 +48,7 @@ class ChromeAutofillClient
|
| PrefService* GetPrefs() override;
|
| void HideRequestAutocompleteDialog() override;
|
| void ShowAutofillSettings() override;
|
| + void ShowUnmaskPrompt() override;
|
| void ConfirmSaveCreditCard(const AutofillMetrics& metric_logger,
|
| const base::Closure& save_card_callback) override;
|
| bool HasCreditCardScanFeature() override;
|
| @@ -98,10 +101,11 @@ class ChromeAutofillClient
|
| void UnregisterFromKeystoneNotifications();
|
| #endif // defined(OS_MACOSX) && !defined(OS_IOS)
|
|
|
| + void OnUnmaskResponse(const base::string16& response);
|
| +
|
| explicit ChromeAutofillClient(content::WebContents* web_contents);
|
| friend class content::WebContentsUserData<ChromeAutofillClient>;
|
|
|
| - content::WebContents* const web_contents_;
|
| base::WeakPtr<AutofillDialogController> dialog_controller_;
|
| base::WeakPtr<AutofillPopupControllerImpl> popup_controller_;
|
|
|
| @@ -116,6 +120,8 @@ class ChromeAutofillClient
|
| AutofillKeystoneBridgeWrapper* bridge_wrapper_;
|
| #endif // defined(OS_MACOSX) && !defined(OS_IOS)
|
|
|
| + base::WeakPtrFactory<ChromeAutofillClient> weak_pointer_factory_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient);
|
| };
|
|
|
|
|