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

Unified Diff: chrome/browser/password_manager/native_backend_kwallet_x_unittest.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/password_manager/native_backend_kwallet_x_unittest.cc
diff --git a/chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc b/chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc
index a091be5a4c425b4e8f404cafe02561e6e3d22132..dbdcd206933f17e3e0134fdd14fdefdbb1421f39 100644
--- a/chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc
+++ b/chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc
@@ -20,6 +20,7 @@
#include "dbus/message.h"
#include "dbus/mock_bus.h"
#include "dbus/mock_object_proxy.h"
+#include "dbus/object_path.h"
#include "dbus/object_proxy.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -225,7 +226,7 @@ void NativeBackendKWalletTest::SetUp() {
mock_klauncher_proxy_ =
new dbus::MockObjectProxy(mock_session_bus_.get(),
"org.kde.klauncher",
- "/KLauncher");
+ dbus::ObjectPath("/KLauncher"));
EXPECT_CALL(*mock_klauncher_proxy_,
CallMethodAndBlock(_, _))
.WillRepeatedly(Invoke(this,
@@ -234,7 +235,7 @@ void NativeBackendKWalletTest::SetUp() {
mock_kwallet_proxy_ =
new dbus::MockObjectProxy(mock_session_bus_.get(),
"org.kde.kwalletd",
- "/modules/kwalletd");
+ dbus::ObjectPath("/modules/kwalletd"));
EXPECT_CALL(*mock_kwallet_proxy_,
CallMethodAndBlock(_, _))
.WillRepeatedly(Invoke(this,
@@ -242,11 +243,11 @@ void NativeBackendKWalletTest::SetUp() {
EXPECT_CALL(*mock_session_bus_, GetObjectProxy(
"org.kde.klauncher",
- "/KLauncher"))
+ dbus::ObjectPath("/KLauncher")))
.WillRepeatedly(Return(mock_klauncher_proxy_.get()));
EXPECT_CALL(*mock_session_bus_, GetObjectProxy(
"org.kde.kwalletd",
- "/modules/kwalletd"))
+ dbus::ObjectPath("/modules/kwalletd")))
.WillRepeatedly(Return(mock_kwallet_proxy_.get()));
EXPECT_CALL(*mock_session_bus_,
« no previous file with comments | « chrome/browser/password_manager/native_backend_kwallet_x.cc ('k') | content/browser/geolocation/wifi_data_provider_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698