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

Issue 1523213002: Make sure peer connection states are updated properly (Closed)

Created:
5 years ago by honghaiz1
Modified:
5 years ago
CC:
chromium-reviews, blink-reviews, tommyw+watchlist_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make sure that peer connection states are updated properly. Update the state right before the respective javascript events are fired. This fixed the problem that when two state changes happen in quick succession, the js client may see two events both with the same last-changed state. BUG=371804 Committed: https://crrev.com/d869cbd0afc9c62114e4ce9e16c0b67e08dcfc68 Cr-Commit-Position: refs/heads/master@{#365666}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Added comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -9 lines) Patch
M third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.h View 1 2 3 chunks +20 lines, -2 lines 1 comment Download
M third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.cpp View 1 4 chunks +41 lines, -7 lines 0 comments Download

Messages

Total messages: 29 (14 generated)
honghaiz
5 years ago (2015-12-15 20:09:59 UTC) #7
tommi (sloooow) - chröme
lgtm
5 years ago (2015-12-15 20:42:20 UTC) #9
honghaiz
Fixing the unittest errors. Basically I reverted the changes on the signalingstate because signaling states ...
5 years ago (2015-12-15 22:30:10 UTC) #10
pthatcher2
This looks really good. But is there a way to write a unit test for ...
5 years ago (2015-12-15 23:59:20 UTC) #11
honghaiz
I do not think there is an easy way to add unittest for this. This ...
5 years ago (2015-12-16 00:21:01 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1523213002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1523213002/80001
5 years ago (2015-12-16 22:10:28 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1523213002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1523213002/80001
5 years ago (2015-12-16 23:11:21 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:80001)
5 years ago (2015-12-16 23:27:24 UTC) #20
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/d869cbd0afc9c62114e4ce9e16c0b67e08dcfc68 Cr-Commit-Position: refs/heads/master@{#365666}
5 years ago (2015-12-16 23:28:14 UTC) #22
haraken
This CL broke oilpan's build. Uploaded a fix: https://codereview.chromium.org/1532463005/ https://codereview.chromium.org/1523213002/diff/80001/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.h File third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.h (right): https://codereview.chromium.org/1523213002/diff/80001/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.h#newcode169 third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.h:169: ...
5 years ago (2015-12-17 03:03:20 UTC) #24
blink-reviews
haraken@, Thanks for the fixing! On Wed, Dec 16, 2015 at 7:03 PM, <haraken@chromium.org> wrote: ...
5 years ago (2015-12-17 17:24:45 UTC) #25
chromium-reviews
haraken@, Thanks for the fixing! On Wed, Dec 16, 2015 at 7:03 PM, <haraken@chromium.org> wrote: ...
5 years ago (2015-12-17 17:24:45 UTC) #26
blink-reviews
For those of us who don't work in that area of the code every day, ...
5 years ago (2015-12-17 19:38:09 UTC) #27
chromium-reviews
For those of us who don't work in that area of the code every day, ...
5 years ago (2015-12-17 19:38:11 UTC) #28
haraken
5 years ago (2015-12-17 23:36:13 UTC) #29
Message was sent while issue was closed.
On 2015/12/17 19:38:11, chromium-reviews wrote:
> For those of us who don't work in that area of the code every day, is there
> a good guide somewhere on the differences between the different pointer
> types and when to use them or not use them (PassOwnPtrWillBeRawPtr
> vs. PassOwnPtr vs. OwnPtr; WillBeHeapVector vs. HeapVector<Member>)?

This is a tutorial:
https://chromium.googlesource.com/chromium/src/+/master/third_party/WebKit/So...

Powered by Google App Engine
This is Rietveld 408576698