Index: remoting/protocol/fake_session.h |
diff --git a/remoting/protocol/fake_session.h b/remoting/protocol/fake_session.h |
index 01f79c75aa8de4a6a8a04ab809554895d25329ff..c7793f26f1e941578db39bf29b34c768be7e08f3 100644 |
--- a/remoting/protocol/fake_session.h |
+++ b/remoting/protocol/fake_session.h |
@@ -178,21 +178,13 @@ class FakeSession : public Session, |
virtual void Close() OVERRIDE; |
// ChannelFactory interface. |
- virtual void CreateStreamChannel( |
- const std::string& name, |
- const StreamChannelCallback& callback) OVERRIDE; |
- virtual void CreateDatagramChannel( |
- const std::string& name, |
- const DatagramChannelCallback& callback) OVERRIDE; |
+ virtual void CreateChannel(const std::string& name, |
+ const ChannelCreatedCallback& callback) OVERRIDE; |
virtual void CancelChannelCreation(const std::string& name) OVERRIDE; |
public: |
- void NotifyStreamChannelCallback( |
- const std::string& name, |
- const StreamChannelCallback& callback); |
- void NotifyDatagramChannelCallback( |
- const std::string& name, |
- const DatagramChannelCallback& callback); |
+ void NotifyChannelCreated(const std::string& name, |
+ const ChannelCreatedCallback& callback); |
EventHandler* event_handler_; |
scoped_ptr<const CandidateSessionConfig> candidate_config_; |