From 27f31bfabd6a4562b5b9d1f108c2fc992b597d92 Mon Sep 17 00:00:00 2001 From: "sergeyu@chromium.org" Date: Fri, 15 Jul 2011 01:46:47 +0000 Subject: Move channel initialization logic to JingleChannel class. Added new CreateChannel() method in Session interface. The new method can be used to create arbitrary channels. BUG=None TEST=Unittests Review URL: http://codereview.chromium.org/7326024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92641 0039d316-1c4b-4281-b951-d872f2087c98 --- remoting/protocol/fake_session.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'remoting/protocol/fake_session.h') diff --git a/remoting/protocol/fake_session.h b/remoting/protocol/fake_session.h index 1427bf3..d892ede 100644 --- a/remoting/protocol/fake_session.h +++ b/remoting/protocol/fake_session.h @@ -105,6 +105,11 @@ class FakeSession : public Session { virtual void SetStateChangeCallback(StateChangeCallback* callback); + virtual void CreateStreamChannel( + const std::string& name, const StreamChannelCallback& callback); + virtual void CreateDatagramChannel( + const std::string& name, const DatagramChannelCallback& callback); + virtual FakeSocket* control_channel(); virtual FakeSocket* event_channel(); virtual FakeSocket* video_channel(); -- cgit v1.1