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 blink::WebRTCErrorType setConfiguration( | 135 blink::WebRTCErrorType setConfiguration( |
136 const blink::WebRTCConfiguration& configuration) override; | 136 const blink::WebRTCConfiguration& configuration) override; |
| 137 blink::WebRTCConfiguration getConfiguration() override; |
| 138 |
137 bool addICECandidate(const blink::WebRTCICECandidate& candidate) override; | 139 bool addICECandidate(const blink::WebRTCICECandidate& candidate) override; |
138 bool addICECandidate(const blink::WebRTCVoidRequest& request, | 140 bool addICECandidate(const blink::WebRTCVoidRequest& request, |
139 const blink::WebRTCICECandidate& candidate) override; | 141 const blink::WebRTCICECandidate& candidate) override; |
140 virtual void OnaddICECandidateResult(const blink::WebRTCVoidRequest& request, | 142 virtual void OnaddICECandidateResult(const blink::WebRTCVoidRequest& request, |
141 bool result); | 143 bool result); |
142 | 144 |
143 bool addStream(const blink::WebMediaStream& stream, | 145 bool addStream(const blink::WebMediaStream& stream, |
144 const blink::WebMediaConstraints& options) override; | 146 const blink::WebMediaConstraints& options) override; |
145 void removeStream(const blink::WebMediaStream& stream) override; | 147 void removeStream(const blink::WebMediaStream& stream) override; |
146 void getStats(const blink::WebRTCStatsRequest& request) override; | 148 void getStats(const blink::WebRTCStatsRequest& request) override; |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 bool ice_state_seen_[webrtc::PeerConnectionInterface::kIceConnectionMax] = {}; | 293 bool ice_state_seen_[webrtc::PeerConnectionInterface::kIceConnectionMax] = {}; |
292 | 294 |
293 base::WeakPtrFactory<RTCPeerConnectionHandler> weak_factory_; | 295 base::WeakPtrFactory<RTCPeerConnectionHandler> weak_factory_; |
294 | 296 |
295 DISALLOW_COPY_AND_ASSIGN(RTCPeerConnectionHandler); | 297 DISALLOW_COPY_AND_ASSIGN(RTCPeerConnectionHandler); |
296 }; | 298 }; |
297 | 299 |
298 } // namespace content | 300 } // namespace content |
299 | 301 |
300 #endif // CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ | 302 #endif // CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ |
OLD | NEW |