Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Side by Side Diff: content/renderer/media/rtc_peer_connection_handler.h

Issue 2749703005: RTCRtpSender with track behind RuntimeEnabled flag (Closed)
Patch Set: external/wpt/webrtc/RTCPeerConnection-idl-expected.txt updated passing 2 more tests Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/renderer/BUILD.gn ('k') | content/renderer/media/rtc_peer_connection_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 const blink::WebRTCICECandidate& candidate) override; 140 const blink::WebRTCICECandidate& candidate) override;
141 virtual void OnaddICECandidateResult(const blink::WebRTCVoidRequest& request, 141 virtual void OnaddICECandidateResult(const blink::WebRTCVoidRequest& request,
142 bool result); 142 bool result);
143 143
144 bool AddStream(const blink::WebMediaStream& stream, 144 bool AddStream(const blink::WebMediaStream& stream,
145 const blink::WebMediaConstraints& options) override; 145 const blink::WebMediaConstraints& options) override;
146 void RemoveStream(const blink::WebMediaStream& stream) override; 146 void RemoveStream(const blink::WebMediaStream& stream) override;
147 void GetStats(const blink::WebRTCStatsRequest& request) override; 147 void GetStats(const blink::WebRTCStatsRequest& request) override;
148 void GetStats( 148 void GetStats(
149 std::unique_ptr<blink::WebRTCStatsReportCallback> callback) override; 149 std::unique_ptr<blink::WebRTCStatsReportCallback> callback) override;
150 blink::WebVector<std::unique_ptr<blink::WebRTCRtpSender>> GetSenders()
151 override;
150 blink::WebVector<std::unique_ptr<blink::WebRTCRtpReceiver>> GetReceivers() 152 blink::WebVector<std::unique_ptr<blink::WebRTCRtpReceiver>> GetReceivers()
151 override; 153 override;
152 blink::WebRTCDataChannelHandler* CreateDataChannel( 154 blink::WebRTCDataChannelHandler* CreateDataChannel(
153 const blink::WebString& label, 155 const blink::WebString& label,
154 const blink::WebRTCDataChannelInit& init) override; 156 const blink::WebRTCDataChannelInit& init) override;
155 blink::WebRTCDTMFSenderHandler* CreateDTMFSender( 157 blink::WebRTCDTMFSenderHandler* CreateDTMFSender(
156 const blink::WebMediaStreamTrack& track) override; 158 const blink::WebMediaStreamTrack& track) override;
157 void Stop() override; 159 void Stop() override;
158 160
159 // Delegate functions to allow for mocking of WebKit interfaces. 161 // Delegate functions to allow for mocking of WebKit interfaces.
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 bool ice_state_seen_[webrtc::PeerConnectionInterface::kIceConnectionMax] = {}; 303 bool ice_state_seen_[webrtc::PeerConnectionInterface::kIceConnectionMax] = {};
302 304
303 base::WeakPtrFactory<RTCPeerConnectionHandler> weak_factory_; 305 base::WeakPtrFactory<RTCPeerConnectionHandler> weak_factory_;
304 306
305 DISALLOW_COPY_AND_ASSIGN(RTCPeerConnectionHandler); 307 DISALLOW_COPY_AND_ASSIGN(RTCPeerConnectionHandler);
306 }; 308 };
307 309
308 } // namespace content 310 } // namespace content
309 311
310 #endif // CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ 312 #endif // CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_
OLDNEW
« no previous file with comments | « content/renderer/BUILD.gn ('k') | content/renderer/media/rtc_peer_connection_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698