Index: remoting/protocol/protocol_mock_objects.h |
diff --git a/remoting/protocol/protocol_mock_objects.h b/remoting/protocol/protocol_mock_objects.h |
index 16337a69624aa17ac272d0df6f844ba6c55649fe..16c41f2e3e0fd8aac12adb69576af1889ec468a1 100644 |
--- a/remoting/protocol/protocol_mock_objects.h |
+++ b/remoting/protocol/protocol_mock_objects.h |
@@ -152,11 +152,8 @@ class MockSession : public Session { |
MOCK_METHOD1(SetEventHandler, void(Session::EventHandler* event_handler)); |
MOCK_METHOD0(error, ErrorCode()); |
- MOCK_METHOD2(CreateStreamChannel, void( |
- const std::string& name, const StreamChannelCallback& callback)); |
- MOCK_METHOD2(CreateDatagramChannel, void( |
- const std::string& name, const DatagramChannelCallback& callback)); |
- MOCK_METHOD1(CancelChannelCreation, void(const std::string& name)); |
+ MOCK_METHOD0(GetMainChannelFactory, ChannelFactory*()); |
+ MOCK_METHOD0(GetMultiplexedChannelFactory, ChannelFactory*()); |
MOCK_METHOD0(jid, const std::string&()); |
MOCK_METHOD0(candidate_config, const CandidateSessionConfig*()); |
MOCK_METHOD0(config, const SessionConfig&()); |