OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CHROMEOS_LOGIN_TEST_WIZARD_IN_PROCESS_BROWSER_TEST_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_TEST_WIZARD_IN_PROCESS_BROWSER_TEST_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_TEST_WIZARD_IN_PROCESS_BROWSER_TEST_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_TEST_WIZARD_IN_PROCESS_BROWSER_TEST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "chrome/test/base/in_process_browser_test.h" | 12 #include "chrome/test/base/in_process_browser_test.h" |
13 | 13 |
14 class Browser; | |
15 class Profile; | |
16 | |
17 namespace chromeos { | 14 namespace chromeos { |
18 | 15 |
19 class LoginDisplayHost; | 16 class LoginDisplayHost; |
20 class WizardController; | |
21 | 17 |
22 // Base class for test related to login wizard and its screens. | 18 // Base class for test related to login wizard and its screens. |
23 // Instead of creating Chrome browser window it creates login wizard window | 19 // Instead of creating Chrome browser window it creates login wizard window |
24 // with specified parameters and allows to customize environment at the | 20 // with specified parameters and allows to customize environment at the |
25 // right moment in time before wizard is created. | 21 // right moment in time before wizard is created. |
26 class WizardInProcessBrowserTest : public InProcessBrowserTest { | 22 class WizardInProcessBrowserTest : public InProcessBrowserTest { |
27 public: | 23 public: |
28 explicit WizardInProcessBrowserTest(const char* screen_name); | 24 explicit WizardInProcessBrowserTest(const char* screen_name); |
29 | 25 |
30 // Overridden from InProcessBrowserTest: | 26 // Overridden from InProcessBrowserTest: |
(...skipping 12 matching lines...) Expand all Loading... |
43 private: | 39 private: |
44 std::string screen_name_; | 40 std::string screen_name_; |
45 LoginDisplayHost* host_; | 41 LoginDisplayHost* host_; |
46 | 42 |
47 DISALLOW_COPY_AND_ASSIGN(WizardInProcessBrowserTest); | 43 DISALLOW_COPY_AND_ASSIGN(WizardInProcessBrowserTest); |
48 }; | 44 }; |
49 | 45 |
50 } // namespace chromeos | 46 } // namespace chromeos |
51 | 47 |
52 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TEST_WIZARD_IN_PROCESS_BROWSER_TEST_H_ | 48 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TEST_WIZARD_IN_PROCESS_BROWSER_TEST_H_ |
OLD | NEW |