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

Unified Diff: chrome/browser/chromeos/login/oobe_base_test.h

Issue 286933002: [cros login] Split login related classes into subfolders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix includes in new tests Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/oobe_base_test.h
diff --git a/chrome/browser/chromeos/login/oobe_base_test.h b/chrome/browser/chromeos/login/oobe_base_test.h
deleted file mode 100644
index f5caf7da0d897115a570a75f159efb4ba6563b2f..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/login/oobe_base_test.h
+++ /dev/null
@@ -1,75 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_OOBE_BASE_TEST_H_
-#define CHROME_BROWSER_CHROMEOS_LOGIN_OOBE_BASE_TEST_H_
-
-#include <string>
-
-#include "base/callback.h"
-#include "base/command_line.h"
-#include "chrome/browser/chromeos/login/login_display_host_impl.h"
-#include "chrome/browser/chromeos/login/webui_login_display.h"
-#include "chrome/browser/extensions/extension_apitest.h"
-#include "chrome/test/base/in_process_browser_test.h"
-#include "content/public/test/test_utils.h"
-#include "google_apis/gaia/fake_gaia.h"
-#include "net/test/embedded_test_server/embedded_test_server.h"
-
-namespace content {
-class WebUI;
-} // namespace content
-
-namespace chromeos {
-
-class FakeUserManager;
-class NetworkPortalDetectorTestImpl;
-class SigninScreenHandler;
-
-// Base class for OOBE and Kiosk tests.
-class OobeBaseTest : public ExtensionApiTest {
- public:
- OobeBaseTest();
- virtual ~OobeBaseTest();
-
- protected:
- // InProcessBrowserTest overrides.
- virtual void SetUp() OVERRIDE;
- virtual void SetUpInProcessBrowserTestFixture() OVERRIDE;
- virtual void SetUpOnMainThread() OVERRIDE;
- virtual void CleanUpOnMainThread() OVERRIDE;
- virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE;
-
- // Network status control functions.
- void SimulateNetworkOffline();
- void SimulateNetworkOnline();
- void SimulateNetworkPortal();
-
- base::Closure SimulateNetworkOfflineClosure();
- base::Closure SimulateNetworkOnlineClosure();
- base::Closure SimulateNetworkPortalClosure();
-
- // Checks JavaScript |expression| in login screen.
- void JsExpect(const std::string& expression);
-
- // Returns chrome://oobe WebUI.
- content::WebUI* GetLoginUI();
-
- // Returns SigninScreenHandler for login screen.
- SigninScreenHandler* GetSigninScreenHandler();
-
- // Returns login display.
- WebUILoginDisplay* GetLoginDisplay();
-
- scoped_ptr<FakeGaia> fake_gaia_;
- NetworkPortalDetectorTestImpl* network_portal_detector_;
-
- // Whether to use background networking. Note this is only effective when it
- // is set before SetUpCommandLine is invoked.
- bool needs_background_networking_;
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_OOBE_BASE_TEST_H_
« no previous file with comments | « chrome/browser/chromeos/login/online_attempt_unittest.cc ('k') | chrome/browser/chromeos/login/oobe_base_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698