diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-15 01:46:47 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-15 01:46:47 +0000 |
commit | 27f31bfabd6a4562b5b9d1f108c2fc992b597d92 (patch) | |
tree | efa73b60228cbe4ea7dfa2689961571023036418 /remoting/protocol/fake_session.h | |
parent | ba9c9da4f6a32bc055d3003cf99d4af430aa83c7 (diff) | |
download | chromium_src-27f31bfabd6a4562b5b9d1f108c2fc992b597d92.zip chromium_src-27f31bfabd6a4562b5b9d1f108c2fc992b597d92.tar.gz chromium_src-27f31bfabd6a4562b5b9d1f108c2fc992b597d92.tar.bz2 |
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
Diffstat (limited to 'remoting/protocol/fake_session.h')
-rw-r--r-- | remoting/protocol/fake_session.h | 5 |
1 files changed, 5 insertions, 0 deletions
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(); |