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

Unified Diff: chromeos/dbus/dbus_client_bundle.cc

Issue 497453003: Fix wrong constants are used for unstabbing D-Bus clients (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/dbus_client_bundle.cc
diff --git a/chromeos/dbus/dbus_client_bundle.cc b/chromeos/dbus/dbus_client_bundle.cc
index 4ab8f3ed763bce1c6605ec1d869db076a7057223..22d1a991be5eb039070dad2e669393b416ae391a 100644
--- a/chromeos/dbus/dbus_client_bundle.cc
+++ b/chromeos/dbus/dbus_client_bundle.cc
@@ -246,12 +246,12 @@ DBusClientBundle::DBusClientBundle() {
permission_broker_client_.reset(new FakePermissionBrokerClient);
power_manager_client_.reset(PowerManagerClient::Create(
- DBusThreadManager::IsUsingStub(CROS_DISKS) ?
+ DBusThreadManager::IsUsingStub(POWER_MANAGER) ?
STUB_DBUS_CLIENT_IMPLEMENTATION :
REAL_DBUS_CLIENT_IMPLEMENTATION));
session_manager_client_.reset(SessionManagerClient::Create(
- DBusThreadManager::IsUsingStub(CROS_DISKS) ?
+ DBusThreadManager::IsUsingStub(SESSION_MANAGER) ?
STUB_DBUS_CLIENT_IMPLEMENTATION :
REAL_DBUS_CLIENT_IMPLEMENTATION));
@@ -266,7 +266,7 @@ DBusClientBundle::DBusClientBundle() {
system_clock_client_.reset(new FakeSystemClockClient);
update_engine_client_.reset(UpdateEngineClient::Create(
- DBusThreadManager::IsUsingStub(CROS_DISKS) ?
+ DBusThreadManager::IsUsingStub(UPDATE_ENGINE) ?
STUB_DBUS_CLIENT_IMPLEMENTATION :
REAL_DBUS_CLIENT_IMPLEMENTATION));
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698