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 CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ |
6 #define CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ | 6 #define CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 const blink::WebRTCSessionDescription& description) override; | 127 const blink::WebRTCSessionDescription& description) override; |
128 void setRemoteDescription( | 128 void setRemoteDescription( |
129 const blink::WebRTCVoidRequest& request, | 129 const blink::WebRTCVoidRequest& request, |
130 const blink::WebRTCSessionDescription& description) override; | 130 const blink::WebRTCSessionDescription& description) override; |
131 | 131 |
132 blink::WebRTCSessionDescription localDescription() override; | 132 blink::WebRTCSessionDescription localDescription() override; |
133 blink::WebRTCSessionDescription remoteDescription() override; | 133 blink::WebRTCSessionDescription remoteDescription() override; |
134 | 134 |
135 bool setConfiguration( | 135 bool setConfiguration( |
136 const blink::WebRTCConfiguration& configuration) override; | 136 const blink::WebRTCConfiguration& configuration) override; |
137 void logSelectedRtcpMuxPolicy( | |
138 blink::RtcpMuxPolicy selectedRtcpMuxPolicy) override; | |
139 bool addICECandidate(const blink::WebRTCICECandidate& candidate) override; | 137 bool addICECandidate(const blink::WebRTCICECandidate& candidate) override; |
140 bool addICECandidate(const blink::WebRTCVoidRequest& request, | 138 bool addICECandidate(const blink::WebRTCVoidRequest& request, |
141 const blink::WebRTCICECandidate& candidate) override; | 139 const blink::WebRTCICECandidate& candidate) override; |
142 virtual void OnaddICECandidateResult(const blink::WebRTCVoidRequest& request, | 140 virtual void OnaddICECandidateResult(const blink::WebRTCVoidRequest& request, |
143 bool result); | 141 bool result); |
144 | 142 |
145 bool addStream(const blink::WebMediaStream& stream, | 143 bool addStream(const blink::WebMediaStream& stream, |
146 const blink::WebMediaConstraints& options) override; | 144 const blink::WebMediaConstraints& options) override; |
147 void removeStream(const blink::WebMediaStream& stream) override; | 145 void removeStream(const blink::WebMediaStream& stream) override; |
148 void getStats(const blink::WebRTCStatsRequest& request) override; | 146 void getStats(const blink::WebRTCStatsRequest& request) override; |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 bool ice_state_seen_[webrtc::PeerConnectionInterface::kIceConnectionMax] = {}; | 291 bool ice_state_seen_[webrtc::PeerConnectionInterface::kIceConnectionMax] = {}; |
294 | 292 |
295 base::WeakPtrFactory<RTCPeerConnectionHandler> weak_factory_; | 293 base::WeakPtrFactory<RTCPeerConnectionHandler> weak_factory_; |
296 | 294 |
297 DISALLOW_COPY_AND_ASSIGN(RTCPeerConnectionHandler); | 295 DISALLOW_COPY_AND_ASSIGN(RTCPeerConnectionHandler); |
298 }; | 296 }; |
299 | 297 |
300 } // namespace content | 298 } // namespace content |
301 | 299 |
302 #endif // CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ | 300 #endif // CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ |
OLD | NEW |