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

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

Issue 910043002: Add checkbox to card unmasking prompt (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix dbg compile 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.h
diff --git a/chrome/browser/ui/autofill/card_unmask_prompt_controller.h b/chrome/browser/ui/autofill/card_unmask_prompt_controller.h
index 85ef4a30cc079ee37695d12757b9f6db501059eb..a41e22ea7a90d022e723046206cc16ae73d916ca 100644
--- a/chrome/browser/ui/autofill/card_unmask_prompt_controller.h
+++ b/chrome/browser/ui/autofill/card_unmask_prompt_controller.h
@@ -19,7 +19,8 @@ class CardUnmaskPromptController {
virtual void OnUnmaskDialogClosed() = 0;
virtual void OnUnmaskResponse(const base::string16& cvc,
const base::string16& exp_month,
- const base::string16& exp_year) = 0;
+ const base::string16& exp_year,
+ bool should_store_pan) = 0;
// State.
virtual content::WebContents* GetWebContents() = 0;
@@ -27,6 +28,7 @@ class CardUnmaskPromptController {
virtual base::string16 GetInstructionsMessage() const = 0;
virtual int GetCvcImageRid() const = 0;
virtual bool ShouldRequestExpirationDate() const = 0;
+ virtual bool GetStoreLocallyStartState() const = 0;
virtual bool InputTextIsValid(const base::string16& input_text) const = 0;
};

Powered by Google App Engine
This is Rietveld 408576698