Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2891)

Unified Diff: chrome/browser/ui/autofill/chrome_autofill_client.h

Issue 756333003: Prompt for unmasking Wallet credit card on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile post-merge Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 192286046bf501da54f4cccc4d57706b6bd19f8c..d9809d49625017b77d9e15e6b02f13e55c832e87 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 "components/autofill/core/browser/autofill_client.h"
#include "components/ui/zoom/zoom_observer.h"
@@ -46,6 +47,7 @@ class ChromeAutofillClient
PrefService* GetPrefs() override;
void HideRequestAutocompleteDialog() override;
void ShowAutofillSettings() override;
+ void ShowUnmaskPrompt() override;
void ConfirmSaveCreditCard(const base::Closure& save_card_callback) override;
bool HasCreditCardScanFeature() override;
void ScanCreditCard(const CreditCardScanCallback& callback) override;
@@ -98,10 +100,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 +119,8 @@ class ChromeAutofillClient
AutofillKeystoneBridgeWrapper* bridge_wrapper_;
#endif // defined(OS_MACOSX) && !defined(OS_IOS)
+ base::WeakPtrFactory<ChromeAutofillClient> weak_pointer_factory_;
+
DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient);
};
« no previous file with comments | « chrome/browser/ui/autofill/card_unmask_prompt_view.cc ('k') | chrome/browser/ui/autofill/chrome_autofill_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698