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

Unified Diff: chrome/browser/chromeos/dbus/cryptohome_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/cryptohome_client.cc
diff --git a/chrome/browser/chromeos/dbus/cryptohome_client.cc b/chrome/browser/chromeos/dbus/cryptohome_client.cc
index 4c3ba5a8b2918c255bb3898da72a17fe67485142..892be68154af56e0e042c5abbd4bd8477aa8ce80 100644
--- a/chrome/browser/chromeos/dbus/cryptohome_client.cc
+++ b/chrome/browser/chromeos/dbus/cryptohome_client.cc
@@ -9,6 +9,7 @@
#include "chrome/browser/chromeos/system/runtime_environment.h"
#include "dbus/bus.h"
#include "dbus/message.h"
+#include "dbus/object_path.h"
#include "dbus/object_proxy.h"
#include "third_party/cros_system_api/dbus/service_constants.h"
@@ -64,8 +65,9 @@ class CryptohomeClientImpl : public CryptohomeClient {
public:
explicit CryptohomeClientImpl(dbus::Bus* bus)
: bus_(bus),
- proxy_(bus->GetObjectProxy(cryptohome::kCryptohomeServiceName,
- cryptohome::kCryptohomeServicePath)),
+ proxy_(bus->GetObjectProxy(
+ cryptohome::kCryptohomeServiceName,
+ dbus::ObjectPath(cryptohome::kCryptohomeServicePath))),
weak_ptr_factory_(this),
on_blocking_method_call_(false /* manual_reset */,
false /* initially_signaled */) {
« no previous file with comments | « chrome/browser/chromeos/dbus/cros_disks_client.cc ('k') | chrome/browser/chromeos/dbus/image_burner_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698