summaryrefslogtreecommitdiffstats
path: root/dbus/mock_object_proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/mock_object_proxy.h')
-rw-r--r--dbus/mock_object_proxy.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/dbus/mock_object_proxy.h b/dbus/mock_object_proxy.h
index b5d4477..a8a5791 100644
--- a/dbus/mock_object_proxy.h
+++ b/dbus/mock_object_proxy.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -8,6 +8,7 @@
#include <string>
+#include "dbus/object_path.h"
#include "dbus/object_proxy.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -18,7 +19,7 @@ class MockObjectProxy : public ObjectProxy {
public:
MockObjectProxy(Bus* bus,
const std::string& service_name,
- const std::string& object_path);
+ const ObjectPath& object_path);
virtual ~MockObjectProxy();
MOCK_METHOD2(CallMethodAndBlock, Response*(MethodCall* method_call,