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

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

Issue 1020013003: Add a regression test for the CardUnmaskPrompt. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: EXPECT 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_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 435bcaa57d91970c306f402899600f88f7507ab7..4b67642463402c6e82575480f8888d03ca4e9554 100644
--- a/chrome/browser/ui/autofill/card_unmask_prompt_controller_impl.h
+++ b/chrome/browser/ui/autofill/card_unmask_prompt_controller_impl.h
@@ -43,19 +43,20 @@ class CardUnmaskPromptControllerImpl : public CardUnmaskPromptController {
bool InputCvcIsValid(const base::string16& input_text) const override;
bool InputExpirationIsValid(const base::string16& month,
const base::string16& year) const override;
+ base::TimeDelta GetSuccessMessageDuration() const override;
protected:
// Virtual so tests can suppress it.
virtual CardUnmaskPromptView* CreateAndShowView();
virtual void LoadRiskFingerprint();
- virtual void OnDidLoadRiskFingerprint(const std::string& risk_data);
+ // Protected so tests can call it.
+ void OnDidLoadRiskFingerprint(const std::string& risk_data);
// Exposed for testing.
CardUnmaskPromptView* view() { return card_unmask_view_; }
private:
-
bool AllowsRetry(AutofillClient::GetRealPanResult result);
void LogOnCloseEvents();

Powered by Google App Engine
This is Rietveld 408576698