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

Unified Diff: chrome/browser/ui/autofill/card_unmask_prompt_view_tester.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_view_tester.h
diff --git a/chrome/browser/ui/autofill/card_unmask_prompt_view_tester.h b/chrome/browser/ui/autofill/card_unmask_prompt_view_tester.h
new file mode 100644
index 0000000000000000000000000000000000000000..3e9522ac3faf9cd1a964f717566cb9d6fbb21b7f
--- /dev/null
+++ b/chrome/browser/ui/autofill/card_unmask_prompt_view_tester.h
@@ -0,0 +1,31 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_TESTER_H_
+#define CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_TESTER_H_
+
+#include "base/memory/scoped_ptr.h"
+
+namespace content {
+class WebContents;
+}
+
+namespace autofill {
+
+class CardUnmaskPromptView;
+
+// Functionality that helps to test an AutofillCardUnmaskPromptView.
+class CardUnmaskPromptViewTester {
+ public:
+ // Gets a AutofillCardUnmaskPromptViewTester for |view|.
+ static scoped_ptr<CardUnmaskPromptViewTester> For(CardUnmaskPromptView* view);
+
+ virtual ~CardUnmaskPromptViewTester() {}
+
+ virtual void Close() = 0;
+};
+
+} // namespace autofill
+
+#endif // CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_TESTER_H_

Powered by Google App Engine
This is Rietveld 408576698