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

Side by Side Diff: chrome/browser/ui/autofill/card_unmask_prompt_view_tester.h

Issue 904613006: Autofill: First step toward CVC unmask prompt dialog on OSX. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix leak detected in browser test. 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_TESTER_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_TESTER_H_
7
8 #include "base/memory/scoped_ptr.h"
9
10 namespace autofill {
11
12 class CardUnmaskPromptView;
13
14 // Functionality that helps to test a CardUnmaskPromptView.
15 class CardUnmaskPromptViewTester {
16 public:
17 // Gets a CardUnmaskPromptViewTester for |view|.
18 static scoped_ptr<CardUnmaskPromptViewTester> For(CardUnmaskPromptView* view);
19
20 virtual ~CardUnmaskPromptViewTester() {}
21
22 // Simulates the user pressing 'Cancel' to abort the dialog.
23 virtual void CancelForTesting() = 0;
24 };
25
26 } // namespace autofill
27
28 #endif // CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_TESTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698