summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/session.h
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-22 00:07:13 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-22 00:07:13 +0000
commit2e8b52cb6b93877a77557fa519ddbceec7deab6e (patch)
tree23ad90684e62f9139a7859a2c8a935284bad33c6 /remoting/protocol/session.h
parentd1850b19dccf7be8310d031b956f27b4b2a71e9d (diff)
downloadchromium_src-2e8b52cb6b93877a77557fa519ddbceec7deab6e.zip
chromium_src-2e8b52cb6b93877a77557fa519ddbceec7deab6e.tar.gz
chromium_src-2e8b52cb6b93877a77557fa519ddbceec7deab6e.tar.bz2
Remove event_channel() and control_channel() from Session interface.
Now all channels are created using CreateStreamChannel() as they should be! Review URL: http://codereview.chromium.org/8587053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111045 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol/session.h')
-rw-r--r--remoting/protocol/session.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/remoting/protocol/session.h b/remoting/protocol/session.h
index 32e2de9..603f733 100644
--- a/remoting/protocol/session.h
+++ b/remoting/protocol/session.h
@@ -41,10 +41,6 @@ class Session : public base::NonThreadSafe {
// Session has been accepted, but channels are connected yet.
CONNECTED,
- // Video and control channels are connected.
- // TODO(sergeyu): Remove this state.
- CONNECTED_CHANNELS,
-
// Session has been closed.
CLOSED,
@@ -95,11 +91,6 @@ class Session : public base::NonThreadSafe {
// completed then cancelling it has no effect.
virtual void CancelChannelCreation(const std::string& name) = 0;
- // TODO(sergeyu): Remove these methods, and use CreateChannel()
- // instead.
- virtual net::Socket* control_channel() = 0;
- virtual net::Socket* event_channel() = 0;
-
// JID of the other side.
virtual const std::string& jid() = 0;