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_OOBE_BASE_TEST_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_TEST_OOBE_BASE_TEST_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_TEST_OOBE_BASE_TEST_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_TEST_OOBE_BASE_TEST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
12 #include "chrome/browser/chromeos/login/ui/login_display_host_impl.h" | 12 #include "chrome/browser/chromeos/login/ui/login_display_host_impl.h" |
13 #include "chrome/browser/chromeos/login/ui/webui_login_display.h" | 13 #include "chrome/browser/chromeos/login/ui/webui_login_display.h" |
14 #include "chrome/browser/extensions/extension_apitest.h" | 14 #include "chrome/browser/extensions/extension_apitest.h" |
15 #include "chrome/test/base/in_process_browser_test.h" | 15 #include "chrome/test/base/in_process_browser_test.h" |
16 #include "content/public/test/test_utils.h" | 16 #include "content/public/test/test_utils.h" |
17 #include "google_apis/gaia/fake_gaia.h" | 17 #include "google_apis/gaia/fake_gaia.h" |
18 #include "net/test/embedded_test_server/embedded_test_server.h" | 18 #include "net/test/embedded_test_server/embedded_test_server.h" |
19 | 19 |
20 namespace content { | 20 namespace content { |
21 class WebUI; | 21 class WebUI; |
22 } // namespace content | 22 } |
23 | |
24 namespace user_manager { | |
25 class FakeUserManager; | |
ygorshenin1
2015/01/23 10:18:03
This name is not used in the header file, could yo
merkulova
2015/01/23 12:59:09
Done.
| |
26 } | |
23 | 27 |
24 namespace chromeos { | 28 namespace chromeos { |
25 | 29 |
26 class FakeUserManager; | |
27 class NetworkPortalDetectorTestImpl; | 30 class NetworkPortalDetectorTestImpl; |
28 | 31 |
29 // Base class for OOBE and Kiosk tests. | 32 // Base class for OOBE and Kiosk tests. |
30 class OobeBaseTest : public ExtensionApiTest { | 33 class OobeBaseTest : public ExtensionApiTest { |
31 public: | 34 public: |
32 OobeBaseTest(); | 35 OobeBaseTest(); |
33 ~OobeBaseTest() override; | 36 ~OobeBaseTest() override; |
34 | 37 |
35 protected: | 38 protected: |
36 // InProcessBrowserTest overrides. | 39 // InProcessBrowserTest overrides. |
(...skipping 25 matching lines...) Expand all Loading... | |
62 NetworkPortalDetectorTestImpl* network_portal_detector_; | 65 NetworkPortalDetectorTestImpl* network_portal_detector_; |
63 | 66 |
64 // Whether to use background networking. Note this is only effective when it | 67 // Whether to use background networking. Note this is only effective when it |
65 // is set before SetUpCommandLine is invoked. | 68 // is set before SetUpCommandLine is invoked. |
66 bool needs_background_networking_; | 69 bool needs_background_networking_; |
67 }; | 70 }; |
68 | 71 |
69 } // namespace chromeos | 72 } // namespace chromeos |
70 | 73 |
71 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TEST_OOBE_BASE_TEST_H_ | 74 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TEST_OOBE_BASE_TEST_H_ |
OLD | NEW |