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

Unified Diff: chrome/browser/chromeos/login/wizard_controller_browsertest.cc

Issue 83633004: Do not spawn a thread in browser/interactive ui tests before spawning sandbox host process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: style fix Created 7 years 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/wizard_controller_browsertest.cc
diff --git a/chrome/browser/chromeos/login/wizard_controller_browsertest.cc b/chrome/browser/chromeos/login/wizard_controller_browsertest.cc
index c20afe2af07c03b823a24caffb2c14be037000e4..6df05204b1cde241fa6ca55167d80ad2761e492a 100644
--- a/chrome/browser/chromeos/login/wizard_controller_browsertest.cc
+++ b/chrome/browser/chromeos/login/wizard_controller_browsertest.cc
@@ -454,7 +454,7 @@ class WizardControllerBrokenLocalStateTest : public WizardControllerTest {
fake_session_manager_client_ = new FakeSessionManagerClient;
fake_dbus_thread_manager->SetSessionManagerClient(
scoped_ptr<SessionManagerClient>(fake_session_manager_client_));
- DBusThreadManager::InitializeForTesting(fake_dbus_thread_manager);
+ DBusThreadManager::SetInstanceForTesting(fake_dbus_thread_manager);
}
virtual void SetUpOnMainThread() OVERRIDE {
@@ -471,7 +471,6 @@ class WizardControllerBrokenLocalStateTest : public WizardControllerTest {
virtual void TearDownInProcessBrowserTestFixture() OVERRIDE {
WizardControllerTest::TearDownInProcessBrowserTestFixture();
- DBusThreadManager::Shutdown();
}
ErrorScreen* GetErrorScreen() {

Powered by Google App Engine
This is Rietveld 408576698