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