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

Unified Diff: chrome/browser/chromeos/dbus/sensors_client.cc

Issue 9378039: dbus: add ObjectPath type (Closed) Base URL: http://git.chromium.org/git/chromium/src@master
Patch Set: add patch for cryptohome_client 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
Index: chrome/browser/chromeos/dbus/sensors_client.cc
diff --git a/chrome/browser/chromeos/dbus/sensors_client.cc b/chrome/browser/chromeos/dbus/sensors_client.cc
index ff0dd8dcc777413a947c88de885af3a454240cac..f8c03f4aa89d2a7afffdeb7c1410c51019794684 100644
--- a/chrome/browser/chromeos/dbus/sensors_client.cc
+++ b/chrome/browser/chromeos/dbus/sensors_client.cc
@@ -11,6 +11,7 @@
#include "content/public/browser/sensors_provider.h"
#include "dbus/bus.h"
#include "dbus/message.h"
+#include "dbus/object_path.h"
#include "dbus/object_proxy.h"
using content::BrowserThread;
@@ -31,8 +32,9 @@ class SensorsClientImpl : public SensorsClient {
explicit SensorsClientImpl(dbus::Bus* bus)
: sensors_proxy_(NULL),
weak_ptr_factory_(this) {
- sensors_proxy_ = bus->GetObjectProxy(chromeos::kSensorsServiceName,
- chromeos::kSensorsServicePath);
+ sensors_proxy_ = bus->GetObjectProxy(
+ chromeos::kSensorsServiceName,
+ dbus::ObjectPath(chromeos::kSensorsServicePath));
sensors_proxy_->ConnectToSignal(
chromeos::kSensorsServiceInterface,
chromeos::kScreenOrientationChanged,

Powered by Google App Engine
This is Rietveld 408576698