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

Unified Diff: content/browser/power_save_blocker_linux.cc

Issue 9363045: Revert 121920 - dbus: add ObjectPath type (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 10 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 | « content/browser/geolocation/wifi_data_provider_linux_unittest.cc ('k') | dbus/bus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/power_save_blocker_linux.cc
===================================================================
--- content/browser/power_save_blocker_linux.cc (revision 121922)
+++ content/browser/power_save_blocker_linux.cc (working copy)
@@ -20,7 +20,6 @@
#include "content/public/browser/browser_thread.h"
#include "dbus/bus.h"
#include "dbus/message.h"
-#include "dbus/object_path.h"
#include "dbus/object_proxy.h"
using content::BrowserThread;
@@ -137,7 +136,7 @@
scoped_refptr<dbus::ObjectProxy> object_proxy =
DBusPowerSaveBlocker::GetInstance()->bus()->GetObjectProxy(
"org.freedesktop.PowerManagement",
- dbus::ObjectPath("/org/freedesktop/PowerManagement/Inhibit"));
+ "/org/freedesktop/PowerManagement/Inhibit");
dbus::MethodCall method_call("org.freedesktop.PowerManagement.Inhibit",
"Inhibit");
dbus::MessageWriter message_writer(&method_call);
@@ -285,7 +284,7 @@
scoped_refptr<dbus::ObjectProxy> object_proxy =
DBusPowerSaveBlocker::GetInstance()->bus()->GetObjectProxy(
"org.gnome.SessionManager",
- dbus::ObjectPath("/org/gnome/SessionManager"));
+ "/org/gnome/SessionManager");
dbus::MethodCall method_call("org.gnome.SessionManager", "Inhibit");
dbus::MessageWriter message_writer(&method_call);
base::Callback<void(dbus::Response*)> bus_callback;
« no previous file with comments | « content/browser/geolocation/wifi_data_provider_linux_unittest.cc ('k') | dbus/bus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698