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

Issue 2748253003: Pass ownership of candidate to PeerConnection::OnIceCandidate (Closed)

Created:
3 years, 9 months ago by joachim
Modified:
3 years, 9 months ago
CC:
webrtc-reviews_webrtc.org, the sun, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Pass ownership of candidate to PeerConnection::OnIceCandidate This will later allow calling the "PeerConnectionObserver::OnIceCandidate" method asynchronously while keeping the object alive. BUG=webrtc:3721 Review-Url: https://codereview.webrtc.org/2748253003 Cr-Commit-Position: refs/heads/master@{#17380} Committed: https://chromium.googlesource.com/external/webrtc/+/81bf7b07256970f4410bc0ad0f44ccf0f7144b00

Patch Set 1 #

Patch Set 2 : Fix compile errors on Android/Mac. #

Patch Set 3 : Fix compilation error on Android. #

Patch Set 4 : Remove old "OnIceCandidate" and "using" workarounds. #

Total comments: 1

Patch Set 5 : Pass ownership through std::unique_ptr #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -10 lines) Patch
M webrtc/pc/peerconnection.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/pc/peerconnection.cc View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M webrtc/pc/webrtcsession.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/pc/webrtcsession.cc View 1 2 3 4 1 chunk +6 lines, -5 lines 0 comments Download
M webrtc/pc/webrtcsession_unittest.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 18 (8 generated)
joachim
Ptal, this is in preparation to make signalling through PeerConnectionObserver asynchronous. https://codereview.webrtc.org/2748253003/diff/60001/webrtc/api/peerconnectioninterface.h File webrtc/api/peerconnectioninterface.h (right): ...
3 years, 9 months ago (2017-03-19 22:32:22 UTC) #3
Taylor Brandstetter
I'm not sure this approach is necessary. In general we'd like to have less ref-counting. ...
3 years, 9 months ago (2017-03-20 18:48:02 UTC) #5
joachim
On 2017/03/20 18:48:02, Taylor Brandstetter wrote: > I'm not sure this approach is necessary. In ...
3 years, 9 months ago (2017-03-20 19:38:57 UTC) #6
Taylor Brandstetter
On 2017/03/20 19:38:57, joachim wrote: > On 2017/03/20 18:48:02, Taylor Brandstetter wrote: > > I'm ...
3 years, 9 months ago (2017-03-20 20:32:03 UTC) #7
joachim
Changed to use std::unique_ptr and updated CL description. Ptal
3 years, 9 months ago (2017-03-20 21:20:23 UTC) #9
pthatcher1
I think the idea of changing this to a unique_ptr is fine, but it is ...
3 years, 9 months ago (2017-03-21 06:22:27 UTC) #11
Taylor Brandstetter
lgtm. I agree we should clean up cricket::Candidate, JsepIceCandidate and IceCandidateInterface, but that can be ...
3 years, 9 months ago (2017-03-23 01:33:07 UTC) #12
pthatcher1
lgtm
3 years, 9 months ago (2017-03-25 03:24:20 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2748253003/80001
3 years, 9 months ago (2017-03-25 15:11:20 UTC) #15
commit-bot: I haz the power
3 years, 9 months ago (2017-03-25 15:31:18 UTC) #18
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/external/webrtc/+/81bf7b07256970f4410bc0ad0...

Powered by Google App Engine
This is Rietveld 408576698