[WebRTC] RTCPeerConnectionHandler cleanup.
Nits and misc cleanup as a follow-up to landing Perfect Negotiation and "onsignalingstatechange" patches, some of which were pointed out in earlier code reviews but weren't fixed to avoid excessive rebasing. Changes include: - Now that RTCPeerConnectionHandler::OnSignalingChange only does thing related to the tracker, it is renamed TrackSignalingChange, and it is called after TrackSessionDescriptionCallback to be consistent with the order prior to my patches. - Readability: use of auto, for-each and std::move. - Remove TODOs and introduce a DCHECK. TBR=hta@chromium.org Bug: chromium:1122561 Change-Id: Ie888441e07ad2e5f18a7d72bfacb674a356e1305 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2385356 Commit-Queue: Henrik Boström <hbos@chromium.org> Reviewed-by:Henrik Boström <hbos@chromium.org> Cr-Commit-Position: refs/heads/master@{#803133}
Showing
Please register or sign in to comment