OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2012 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 | 201 |
202 virtual cricket::VoiceChannel* voice_channel() { | 202 virtual cricket::VoiceChannel* voice_channel() { |
203 return voice_channel_.get(); | 203 return voice_channel_.get(); |
204 } | 204 } |
205 virtual cricket::VideoChannel* video_channel() { | 205 virtual cricket::VideoChannel* video_channel() { |
206 return video_channel_.get(); | 206 return video_channel_.get(); |
207 } | 207 } |
208 virtual cricket::DataChannel* data_channel() { | 208 virtual cricket::DataChannel* data_channel() { |
209 return data_channel_.get(); | 209 return data_channel_.get(); |
210 } | 210 } |
211 std::unique_ptr<ChannelNamePairs> GetChannelNamePairs(); | |
212 | 211 |
213 cricket::BaseChannel* GetChannel(const std::string& content_name); | 212 cricket::BaseChannel* GetChannel(const std::string& content_name); |
214 | 213 |
215 cricket::SecurePolicy SdesPolicy() const; | 214 cricket::SecurePolicy SdesPolicy() const; |
216 | 215 |
217 // Get current ssl role from transport. | 216 // Get current ssl role from transport. |
218 bool GetSslRole(const std::string& transport_name, rtc::SSLRole* role); | 217 bool GetSslRole(const std::string& transport_name, rtc::SSLRole* role); |
219 | 218 |
220 // Get current SSL role for this channel's transport. | 219 // Get current SSL role for this channel's transport. |
221 // If |transport| is null, returns false. | 220 // If |transport| is null, returns false. |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 | 555 |
557 #ifdef HAVE_QUIC | 556 #ifdef HAVE_QUIC |
558 std::unique_ptr<QuicDataTransport> quic_data_transport_; | 557 std::unique_ptr<QuicDataTransport> quic_data_transport_; |
559 #endif // HAVE_QUIC | 558 #endif // HAVE_QUIC |
560 | 559 |
561 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession); | 560 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession); |
562 }; | 561 }; |
563 } // namespace webrtc | 562 } // namespace webrtc |
564 | 563 |
565 #endif // WEBRTC_API_WEBRTCSESSION_H_ | 564 #endif // WEBRTC_API_WEBRTCSESSION_H_ |
OLD | NEW |