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

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

Issue 1020013003: Add a regression test for the CardUnmaskPrompt. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git add Created 5 years, 9 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 8679e7a6a96be1346bbd0d0aff0ec4896b107f01..6c8c64d6a42f58be0f3b2d3a165a2e230455429f 100644
--- a/chrome/browser/ui/autofill/card_unmask_prompt_controller.h
+++ b/chrome/browser/ui/autofill/card_unmask_prompt_controller.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_CONTROLLER_H_
#include "base/strings/string16.h"
+#include "base/time/time.h"
groby-ooo-7-16 2015/03/19 23:47:56 just forward declare TimeDelta?
Evan Stade 2015/03/20 00:22:42 mildly surprised that worked. done
namespace content {
class WebContents;
@@ -32,6 +33,7 @@ class CardUnmaskPromptController {
virtual bool InputCvcIsValid(const base::string16& input_text) const = 0;
virtual bool InputExpirationIsValid(const base::string16& month,
const base::string16& year) const = 0;
+ virtual base::TimeDelta GetSuccessMessageDuration() const = 0;
};
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698