diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-22 00:07:13 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-22 00:07:13 +0000 |
commit | 2e8b52cb6b93877a77557fa519ddbceec7deab6e (patch) | |
tree | 23ad90684e62f9139a7859a2c8a935284bad33c6 /remoting/protocol/jingle_session.h | |
parent | d1850b19dccf7be8310d031b956f27b4b2a71e9d (diff) | |
download | chromium_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/jingle_session.h')
-rw-r--r-- | remoting/protocol/jingle_session.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/remoting/protocol/jingle_session.h b/remoting/protocol/jingle_session.h index cc5195a..b2f831b 100644 --- a/remoting/protocol/jingle_session.h +++ b/remoting/protocol/jingle_session.h @@ -37,8 +37,6 @@ class JingleSession : public protocol::Session, const std::string& name, const DatagramChannelCallback& callback) OVERRIDE; virtual void CancelChannelCreation(const std::string& name) OVERRIDE; - virtual net::Socket* control_channel() OVERRIDE; - virtual net::Socket* event_channel() OVERRIDE; virtual const std::string& jid() OVERRIDE; virtual const CandidateSessionConfig* candidate_config() OVERRIDE; virtual const SessionConfig& config() OVERRIDE; @@ -121,16 +119,6 @@ class JingleSession : public protocol::Session, void OnChannelConnectorFinished(const std::string& name, JingleChannelConnector* connector); - // Creates channels after session has been accepted. - // TODO(sergeyu): Don't create channels in JingleSession. - void CreateChannels(); - - // Callbacks for the channels created in JingleSession. - // TODO(sergeyu): Remove this method once *_channel() methods are - // removed from Session interface. - void OnChannelConnected(scoped_ptr<net::Socket>* socket_container, - net::StreamSocket* socket); - const cricket::ContentInfo* GetContentInfo() const; void SetState(State new_state); @@ -180,9 +168,6 @@ class JingleSession : public protocol::Session, // Channels that are currently being connected. ChannelConnectorsMap channel_connectors_; - scoped_ptr<net::Socket> control_channel_socket_; - scoped_ptr<net::Socket> event_channel_socket_; - ScopedRunnableMethodFactory<JingleSession> task_factory_; DISALLOW_COPY_AND_ASSIGN(JingleSession); |