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

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: Address groby@ comments for patch set 8. 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
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 c3d4c628198babda24dd854d994762aea49f0d53..0a665d4f3e06c902011dab864b62e6ec74dd867a 100644
--- a/chrome/browser/ui/autofill/card_unmask_prompt_controller_impl.h
+++ b/chrome/browser/ui/autofill/card_unmask_prompt_controller_impl.h
@@ -38,6 +38,10 @@ class CardUnmaskPromptControllerImpl : public CardUnmaskPromptController {
bool ShouldRequestExpirationDate() const override;
bool InputTextIsValid(const base::string16& input_text) const override;
+ protected:
+ // Exposed for testing.
+ CardUnmaskPromptView* view() { return card_unmask_view_; }
+
private:
content::WebContents* web_contents_;
CreditCard card_;

Powered by Google App Engine
This is Rietveld 408576698