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

Unified Diff: content/renderer/media/peer_connection_tracker.cc

Issue 1729683002: Remove old-style constraints from Chrome internals (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Complete the interface change Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/media/peer_connection_tracker.cc
diff --git a/content/renderer/media/peer_connection_tracker.cc b/content/renderer/media/peer_connection_tracker.cc
index 74a01dae95f3d1956f0f0ea00d99772c13448a2b..cf5c8b8af753d6a43bbd06c98cabcd73b5cc7680 100644
--- a/content/renderer/media/peer_connection_tracker.cc
+++ b/content/renderer/media/peer_connection_tracker.cc
@@ -467,8 +467,7 @@ void PeerConnectionTracker::TrackSetSessionDescription(
void PeerConnectionTracker::TrackUpdateIce(
RTCPeerConnectionHandler* pc_handler,
- const webrtc::PeerConnectionInterface::RTCConfiguration& config,
- const blink::WebMediaConstraints& options) {
+ const webrtc::PeerConnectionInterface::RTCConfiguration& config) {
DCHECK(main_thread_.CalledOnValidThread());
int id = GetLocalIDForHandler(pc_handler);
if (id == -1)
@@ -478,9 +477,8 @@ void PeerConnectionTracker::TrackUpdateIce(
result << "servers: " << SerializeServers(config.servers)
<< "iceTransportType: " << SerializeIceTransportType(config.type)
<< "bundlePolicy: " << SerializeBundlePolicy(config.bundle_policy)
- << "rtcpMuxPolicy: "
- << SerializeRtcpMuxPolicy(config.rtcp_mux_policy)
- << "constraints: {" << SerializeMediaConstraints(options) << "}";
+ << "rtcpMuxPolicy: " << SerializeRtcpMuxPolicy(config.rtcp_mux_policy)
+ << "}";
SendPeerConnectionUpdate(
id,
« no previous file with comments | « content/renderer/media/peer_connection_tracker.h ('k') | content/renderer/media/peer_connection_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698