| 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 | 23 |
| 24 namespace chromeos { | 24 namespace chromeos { |
| 25 | 25 |
| 26 class FakeUserManager; | |
| 27 class NetworkPortalDetectorTestImpl; | 26 class NetworkPortalDetectorTestImpl; |
| 28 | 27 |
| 29 // Base class for OOBE and Kiosk tests. | 28 // Base class for OOBE and Kiosk tests. |
| 30 class OobeBaseTest : public ExtensionApiTest { | 29 class OobeBaseTest : public ExtensionApiTest { |
| 31 public: | 30 public: |
| 32 OobeBaseTest(); | 31 OobeBaseTest(); |
| 33 ~OobeBaseTest() override; | 32 ~OobeBaseTest() override; |
| 34 | 33 |
| 35 protected: | 34 protected: |
| 36 // InProcessBrowserTest overrides. | 35 // InProcessBrowserTest overrides. |
| (...skipping 25 matching lines...) Expand all Loading... |
| 62 NetworkPortalDetectorTestImpl* network_portal_detector_; | 61 NetworkPortalDetectorTestImpl* network_portal_detector_; |
| 63 | 62 |
| 64 // Whether to use background networking. Note this is only effective when it | 63 // Whether to use background networking. Note this is only effective when it |
| 65 // is set before SetUpCommandLine is invoked. | 64 // is set before SetUpCommandLine is invoked. |
| 66 bool needs_background_networking_; | 65 bool needs_background_networking_; |
| 67 }; | 66 }; |
| 68 | 67 |
| 69 } // namespace chromeos | 68 } // namespace chromeos |
| 70 | 69 |
| 71 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TEST_OOBE_BASE_TEST_H_ | 70 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TEST_OOBE_BASE_TEST_H_ |
| OLD | NEW |