OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef REMOTING_PROTOCOL_JINGLE_SESSION_H_ | 5 #ifndef REMOTING_PROTOCOL_JINGLE_SESSION_H_ |
6 #define REMOTING_PROTOCOL_JINGLE_SESSION_H_ | 6 #define REMOTING_PROTOCOL_JINGLE_SESSION_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 virtual ErrorCode error() OVERRIDE; | 47 virtual ErrorCode error() OVERRIDE; |
48 virtual const std::string& jid() OVERRIDE; | 48 virtual const std::string& jid() OVERRIDE; |
49 virtual const CandidateSessionConfig* candidate_config() OVERRIDE; | 49 virtual const CandidateSessionConfig* candidate_config() OVERRIDE; |
50 virtual const SessionConfig& config() OVERRIDE; | 50 virtual const SessionConfig& config() OVERRIDE; |
51 virtual void set_config(const SessionConfig& config) OVERRIDE; | 51 virtual void set_config(const SessionConfig& config) OVERRIDE; |
52 virtual ChannelFactory* GetTransportChannelFactory() OVERRIDE; | 52 virtual ChannelFactory* GetTransportChannelFactory() OVERRIDE; |
53 virtual ChannelFactory* GetMultiplexedChannelFactory() OVERRIDE; | 53 virtual ChannelFactory* GetMultiplexedChannelFactory() OVERRIDE; |
54 virtual void Close() OVERRIDE; | 54 virtual void Close() OVERRIDE; |
55 | 55 |
56 // ChannelFactory interface. | 56 // ChannelFactory interface. |
57 virtual void CreateStreamChannel( | 57 virtual void CreateChannel(const std::string& name, |
58 const std::string& name, | 58 const ChannelCreatedCallback& callback) OVERRIDE; |
59 const StreamChannelCallback& callback) OVERRIDE; | |
60 virtual void CreateDatagramChannel( | |
61 const std::string& name, | |
62 const DatagramChannelCallback& callback) OVERRIDE; | |
63 virtual void CancelChannelCreation(const std::string& name) OVERRIDE; | 59 virtual void CancelChannelCreation(const std::string& name) OVERRIDE; |
64 | 60 |
65 // Transport::EventHandler interface. | 61 // Transport::EventHandler interface. |
66 virtual void OnTransportCandidate( | 62 virtual void OnTransportCandidate( |
67 Transport* transport, | 63 Transport* transport, |
68 const cricket::Candidate& candidate) OVERRIDE; | 64 const cricket::Candidate& candidate) OVERRIDE; |
69 virtual void OnTransportRouteChange(Transport* transport, | 65 virtual void OnTransportRouteChange(Transport* transport, |
70 const TransportRoute& route) OVERRIDE; | 66 const TransportRoute& route) OVERRIDE; |
71 virtual void OnTransportFailed(Transport* transport) OVERRIDE; | 67 virtual void OnTransportFailed(Transport* transport) OVERRIDE; |
72 virtual void OnTransportDeleted(Transport* transport) OVERRIDE; | 68 virtual void OnTransportDeleted(Transport* transport) OVERRIDE; |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 | 175 |
180 base::WeakPtrFactory<JingleSession> weak_factory_; | 176 base::WeakPtrFactory<JingleSession> weak_factory_; |
181 | 177 |
182 DISALLOW_COPY_AND_ASSIGN(JingleSession); | 178 DISALLOW_COPY_AND_ASSIGN(JingleSession); |
183 }; | 179 }; |
184 | 180 |
185 } // namespace protocol | 181 } // namespace protocol |
186 } // namespace remoting | 182 } // namespace remoting |
187 | 183 |
188 #endif // REMOTING_PROTOCOL_JINGLE_SESSION_H_ | 184 #endif // REMOTING_PROTOCOL_JINGLE_SESSION_H_ |
OLD | NEW |