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

Unified Diff: remoting/jingle_glue/mock_objects.h

Issue 7809003: Simplify IqRequest interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix windows Created 9 years, 3 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
« no previous file with comments | « remoting/jingle_glue/jingle_info_request.cc ('k') | remoting/jingle_glue/xmpp_iq_request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/jingle_glue/mock_objects.h
diff --git a/remoting/jingle_glue/mock_objects.h b/remoting/jingle_glue/mock_objects.h
index 6c93b0a6fc352875ca99adb212d3b0e01ec9a9e3..5563e22c15f326fdc542a37f6fb0c9b65d1b3dbd 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
« no previous file with comments | « remoting/jingle_glue/jingle_info_request.cc ('k') | remoting/jingle_glue/xmpp_iq_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698