diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-06 22:50:13 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-06 22:50:13 +0000 |
commit | 19d963f72826c669179b9fa2c9c11ad40465a701 (patch) | |
tree | 798c0b13524d1fa331e427fd3b64a7e0d3d2798f /remoting/jingle_glue/mock_objects.h | |
parent | 05932300479fbf56b492155d581c37cd7abea3f0 (diff) | |
download | chromium_src-19d963f72826c669179b9fa2c9c11ad40465a701.zip chromium_src-19d963f72826c669179b9fa2c9c11ad40465a701.tar.gz chromium_src-19d963f72826c669179b9fa2c9c11ad40465a701.tar.bz2 |
Simplify IqRequest interface.
This is neccessary to make the interface usable with stanzas generated
by JingleMessage::ToXml().
BUG=None
TEST=Unittests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=99801
Review URL: http://codereview.chromium.org/7809003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99851 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/jingle_glue/mock_objects.h')
-rw-r--r-- | remoting/jingle_glue/mock_objects.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/remoting/jingle_glue/mock_objects.h b/remoting/jingle_glue/mock_objects.h index 6c93b0a..5563e22 100644 --- a/remoting/jingle_glue/mock_objects.h +++ b/remoting/jingle_glue/mock_objects.h @@ -27,9 +27,7 @@ class MockIqRequest : public IqRequest { MockIqRequest(); virtual ~MockIqRequest(); - MOCK_METHOD3(SendIq, void(const std::string& type, - const std::string& addressee, - buzz::XmlElement* iq_body)); + MOCK_METHOD1(SendIq, void(buzz::XmlElement* stanza)); MOCK_METHOD1(set_callback, void(const IqRequest::ReplyCallback&)); // Ensure this takes ownership of the pointer, as the real IqRequest object |