diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-06 20:40:50 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-06 20:40:50 +0000 |
commit | 3e729c3687149657194dec4cf3d870d54aeafaaf (patch) | |
tree | 6c390630ff1b6ffe99392138ad611d40debcbb44 /remoting/jingle_glue/mock_objects.h | |
parent | d9a92dbc3bdf6bb139ba68cf1f510df45d231517 (diff) | |
download | chromium_src-3e729c3687149657194dec4cf3d870d54aeafaaf.zip chromium_src-3e729c3687149657194dec4cf3d870d54aeafaaf.tar.gz chromium_src-3e729c3687149657194dec4cf3d870d54aeafaaf.tar.bz2 |
Revert 99801 - Simplify IqRequest interface.
This is neccessary to make the interface usable with stanzas generated
by JingleMessage::ToXml().
BUG=None
TEST=Unittests
Review URL: http://codereview.chromium.org/7809003
TBR=sergeyu@chromium.org
Review URL: http://codereview.chromium.org/7841006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99807 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, 3 insertions, 1 deletions
diff --git a/remoting/jingle_glue/mock_objects.h b/remoting/jingle_glue/mock_objects.h index 5563e22..6c93b0a 100644 --- a/remoting/jingle_glue/mock_objects.h +++ b/remoting/jingle_glue/mock_objects.h @@ -27,7 +27,9 @@ class MockIqRequest : public IqRequest { MockIqRequest(); virtual ~MockIqRequest(); - MOCK_METHOD1(SendIq, void(buzz::XmlElement* stanza)); + MOCK_METHOD3(SendIq, void(const std::string& type, + const std::string& addressee, + buzz::XmlElement* iq_body)); MOCK_METHOD1(set_callback, void(const IqRequest::ReplyCallback&)); // Ensure this takes ownership of the pointer, as the real IqRequest object |