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

Unified Diff: chrome/browser/ui/views/autofill/card_unmask_prompt_view_tester_views.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/views/autofill/card_unmask_prompt_view_tester_views.h
diff --git a/chrome/browser/ui/views/autofill/card_unmask_prompt_view_tester_views.h b/chrome/browser/ui/views/autofill/card_unmask_prompt_view_tester_views.h
new file mode 100644
index 0000000000000000000000000000000000000000..e69baac722956983f762baf71b26a044a7aee5a3
--- /dev/null
+++ b/chrome/browser/ui/views/autofill/card_unmask_prompt_view_tester_views.h
@@ -0,0 +1,30 @@
+// 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_VIEWS_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_TESTER_VIEWS_H_
+#define CHROME_BROWSER_UI_VIEWS_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_TESTER_VIEWS_H_
+
+#include "chrome/browser/ui/autofill/card_unmask_prompt_view_tester.h"
+
+namespace autofill {
+
+class CardUnmaskPromptViews;
+
+// Class that facilitates testing a CardUnmaskPromptViews.
+class CardUnmaskPromptViewTesterViews : public CardUnmaskPromptViewTester {
+ public:
+ explicit CardUnmaskPromptViewTesterViews(CardUnmaskPromptViews* view);
+ ~CardUnmaskPromptViewTesterViews() override;
+
+ void Close() override;
+
+ private:
+ CardUnmaskPromptViews* view_;
+
+ DISALLOW_COPY_AND_ASSIGN(CardUnmaskPromptViewTesterViews);
+};
+
+} // namespace autofill
+
+#endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_TESTER_VIEWS_H_

Powered by Google App Engine
This is Rietveld 408576698