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

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

Issue 904613006: Autofill: First step toward CVC unmask prompt dialog on OSX. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove view_tester files and don't return WeakPtrs. Created 5 years, 10 months 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
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/card_unmask_prompt_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/autofill/card_unmask_prompt_controller_impl.h
diff --git a/chrome/browser/ui/autofill/card_unmask_prompt_controller_impl.h b/chrome/browser/ui/autofill/card_unmask_prompt_controller_impl.h
index e7dab1bd7c6de2583fe543e488fd04f2ba2d61b8..e2d1b9756ac0daa5c44b4ce01eb706d774add3c9 100644
--- a/chrome/browser/ui/autofill/card_unmask_prompt_controller_impl.h
+++ b/chrome/browser/ui/autofill/card_unmask_prompt_controller_impl.h
@@ -18,7 +18,7 @@ class CardUnmaskPromptView;
class CardUnmaskPromptControllerImpl : public CardUnmaskPromptController {
public:
explicit CardUnmaskPromptControllerImpl(content::WebContents* web_contents);
- ~CardUnmaskPromptControllerImpl();
+ virtual ~CardUnmaskPromptControllerImpl();
// Functions called by ChromeAutofillClient.
void ShowPrompt(const CreditCard& card,
@@ -41,9 +41,14 @@ class CardUnmaskPromptControllerImpl : public CardUnmaskPromptController {
bool GetStoreLocallyStartState() const override;
bool InputTextIsValid(const base::string16& input_text) const override;
+ protected:
+ virtual void OnDidLoadRiskFingerprint(const std::string& risk_data);
+
+ // Exposed for testing.
+ CardUnmaskPromptView* view() { return card_unmask_view_; }
+
private:
void LoadRiskFingerprint();
- void OnDidLoadRiskFingerprint(const std::string& risk_data);
content::WebContents* web_contents_;
CreditCard card_;
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/card_unmask_prompt_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698