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

Unified Diff: ash/test/ash_test_helper.cc

Issue 2343993003: chromeos: Refactor D-Bus client creation for ash and browser processes (Closed)
Patch Set: rebase Created 4 years, 3 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: ash/test/ash_test_helper.cc
diff --git a/ash/test/ash_test_helper.cc b/ash/test/ash_test_helper.cc
index cdb32b03ce5a9ee85d61ab777b61d1a265348ea2..6e3b8095264e5affcb27cecc74abcb67b0e35282 100644
--- a/ash/test/ash_test_helper.cc
+++ b/ash/test/ash_test_helper.cc
@@ -93,7 +93,8 @@ void AshTestHelper::SetUp(bool start_session,
#if defined(OS_CHROMEOS)
// Create DBusThreadManager for testing.
if (!chromeos::DBusThreadManager::IsInitialized()) {
- chromeos::DBusThreadManager::Initialize();
+ chromeos::DBusThreadManager::Initialize(
+ chromeos::DBusThreadManager::PROCESS_ASH);
dbus_thread_manager_initialized_ = true;
}
« no previous file with comments | « ash/shell/content/client/shell_browser_main_parts.cc ('k') | chrome/browser/chromeos/chrome_browser_main_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698