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

Unified Diff: remoting/jingle_glue/mock_objects.h

Issue 9005034: Refactor SignalStrategy so that it can be reused for multiple connections. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 8 years, 12 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_signaling_connector.cc ('k') | remoting/jingle_glue/signal_strategy.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 aad9697ae639f201ba472700165b940b9fd342e3..61bc2d3df4fa000b3dd99d04919c961e54c20432 100644
--- a/remoting/jingle_glue/mock_objects.h
+++ b/remoting/jingle_glue/mock_objects.h
@@ -14,13 +14,14 @@ class MockSignalStrategy : public SignalStrategy {
MockSignalStrategy();
virtual ~MockSignalStrategy();
- MOCK_METHOD1(Init, void(StatusObserver*));
- MOCK_METHOD0(Close, void());
+ MOCK_METHOD0(Connect, void());
+ MOCK_METHOD0(Disconnect, void());
+ MOCK_CONST_METHOD0(GetState, State());
+ MOCK_CONST_METHOD0(GetLocalJid, std::string());
MOCK_METHOD1(AddListener, void(Listener* listener));
MOCK_METHOD1(RemoveListener, void(Listener* listener));
MOCK_METHOD1(SendStanza, bool(buzz::XmlElement* stanza));
MOCK_METHOD0(GetNextId, std::string());
- MOCK_METHOD0(CreateIqRequest, IqRequest*());
};
} // namespace remoting
« no previous file with comments | « remoting/jingle_glue/jingle_signaling_connector.cc ('k') | remoting/jingle_glue/signal_strategy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698