OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_TESTER_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_TESTER_VIEWS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_TESTER_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_TESTER_VIEWS_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "chrome/browser/ui/autofill/card_unmask_prompt_view_tester.h" | 9 #include "chrome/browser/ui/autofill/card_unmask_prompt_view_tester.h" |
9 | 10 |
10 namespace autofill { | 11 namespace autofill { |
11 | 12 |
12 class CardUnmaskPromptViews; | 13 class CardUnmaskPromptViews; |
13 | 14 |
14 // Class that facilitates testing a CardUnmaskPromptViews. | 15 // Class that facilitates testing a CardUnmaskPromptViews. |
15 class CardUnmaskPromptViewTesterViews : public CardUnmaskPromptViewTester { | 16 class CardUnmaskPromptViewTesterViews : public CardUnmaskPromptViewTester { |
16 public: | 17 public: |
17 explicit CardUnmaskPromptViewTesterViews(CardUnmaskPromptViews* view); | 18 explicit CardUnmaskPromptViewTesterViews(CardUnmaskPromptViews* view); |
18 ~CardUnmaskPromptViewTesterViews() override; | 19 ~CardUnmaskPromptViewTesterViews() override; |
19 | 20 |
20 void Close() override; | 21 void Close() override; |
21 | 22 |
22 private: | 23 private: |
23 CardUnmaskPromptViews* view_; | 24 CardUnmaskPromptViews* view_; |
24 | 25 |
25 DISALLOW_COPY_AND_ASSIGN(CardUnmaskPromptViewTesterViews); | 26 DISALLOW_COPY_AND_ASSIGN(CardUnmaskPromptViewTesterViews); |
26 }; | 27 }; |
27 | 28 |
28 } // namespace autofill | 29 } // namespace autofill |
29 | 30 |
30 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_TESTER_VIEWS
_H_ | 31 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_TESTER_VIEWS
_H_ |
OLD | NEW |