summaryrefslogtreecommitdiffstats
path: root/dbus
diff options
context:
space:
mode:
authorhashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-24 02:29:36 +0000
committerhashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-24 02:29:36 +0000
commite8ebcf1bd143bf061a02a6b453bbf6951eb06a59 (patch)
tree9c342e9d73402e89079c933968d02cd0c22c1625 /dbus
parent8add298787128f991142763a876df63ae0344e10 (diff)
downloadchromium_src-e8ebcf1bd143bf061a02a6b453bbf6951eb06a59.zip
chromium_src-e8ebcf1bd143bf061a02a6b453bbf6951eb06a59.tar.gz
chromium_src-e8ebcf1bd143bf061a02a6b453bbf6951eb06a59.tar.bz2
Add MockObjectProxy::CallMethodWithErrorCallback
BUG=chromium-os:27899 TEST=build success Review URL: https://chromiumcodereview.appspot.com/10168027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133608 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'dbus')
-rw-r--r--dbus/mock_object_proxy.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/dbus/mock_object_proxy.h b/dbus/mock_object_proxy.h
index a8a5791..ff0dcff 100644
--- a/dbus/mock_object_proxy.h
+++ b/dbus/mock_object_proxy.h
@@ -27,6 +27,10 @@ class MockObjectProxy : public ObjectProxy {
MOCK_METHOD3(CallMethod, void(MethodCall* method_call,
int timeout_ms,
ResponseCallback callback));
+ MOCK_METHOD4(CallMethodWithErrorCallback, void(MethodCall* method_call,
+ int timeout_ms,
+ ResponseCallback callback,
+ ErrorCallback error_callback));
MOCK_METHOD4(ConnectToSignal,
void(const std::string& interface_name,
const std::string& signal_name,