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

Unified Diff: chrome/browser/apps/app_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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/crash_restore_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/apps/app_browsertest.cc
diff --git a/chrome/browser/apps/app_browsertest.cc b/chrome/browser/apps/app_browsertest.cc
index 39356b58fedc70e5356f18ba6193e6ab99ef5144..f2c1ab522bb8ccce46bd7c3c1076c6acfe7d19f3 100644
--- a/chrome/browser/apps/app_browsertest.cc
+++ b/chrome/browser/apps/app_browsertest.cc
@@ -1235,7 +1235,7 @@ class RestartDeviceTest : public PlatformAppBrowserTest {
power_manager_client_ = new chromeos::FakePowerManagerClient;
dbus_manager->SetPowerManagerClient(
scoped_ptr<chromeos::PowerManagerClient>(power_manager_client_));
- chromeos::DBusThreadManager::InitializeForTesting(dbus_manager);
+ chromeos::DBusThreadManager::SetInstanceForTesting(dbus_manager);
}
virtual void SetUpOnMainThread() OVERRIDE {
@@ -1257,7 +1257,6 @@ class RestartDeviceTest : public PlatformAppBrowserTest {
}
virtual void TearDownInProcessBrowserTestFixture() OVERRIDE {
- chromeos::DBusThreadManager::Shutdown();
PlatformAppBrowserTest::TearDownInProcessBrowserTestFixture();
}
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/crash_restore_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698