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

Issue 1676043002: Deliver webrtc-internals updates in bulk, every 500ms at most. (Closed)

Created:
4 years, 10 months ago by tommi (sloooow) - chröme
Modified:
4 years, 10 months ago
Reviewers:
Henrik Grunell
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Deliver webrtc-internals updates in bulk, every 500ms at most. This approach bulks together update notifications to avoid DOSing ourselves when there's lots of peerconnection activity. BUG=578839 Committed: https://crrev.com/75d54fe84473d8a17cf4a28d05fa2fc6d104ab54 Cr-Commit-Position: refs/heads/master@{#374373}

Patch Set 1 #

Total comments: 19

Patch Set 2 : Address comments, fix tests, change the way we test the WebRTCInternals class. #

Patch Set 3 : Add documentation. #

Patch Set 4 : Fix gn build #

Total comments: 1

Patch Set 5 : Add documentation and thread checker #

Total comments: 6

Patch Set 6 : Fix the _right_ gn file. #

Patch Set 7 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+359 lines, -161 lines) Patch
M content/browser/media/webrtc_internals.h View 1 2 3 4 5 6 6 chunks +51 lines, -7 lines 0 comments Download
M content/browser/media/webrtc_internals.cc View 1 2 3 4 14 chunks +77 lines, -48 lines 0 comments Download
M content/browser/media/webrtc_internals_unittest.cc View 1 10 chunks +130 lines, -76 lines 0 comments Download
M content/content_tests.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/peer_connection_tracker.h View 1 2 2 chunks +19 lines, -3 lines 0 comments Download
M content/renderer/media/peer_connection_tracker.cc View 1 17 chunks +80 lines, -27 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (3 generated)
tommi (sloooow) - chröme
4 years, 10 months ago (2016-02-06 16:55:13 UTC) #2
Henrik Grunell
Great change. https://codereview.chromium.org/1676043002/diff/1/content/browser/media/webrtc_internals.cc File content/browser/media/webrtc_internals.cc (right): https://codereview.chromium.org/1676043002/diff/1/content/browser/media/webrtc_internals.cc#newcode107 content/browser/media/webrtc_internals.cc:107: SendUpdate("addPeerConnection", dict->CreateDeepCopy()); Why do you need to ...
4 years, 10 months ago (2016-02-08 09:52:08 UTC) #3
tommi (sloooow) - chröme
Address comments, fix tests, change the way we test the WebRTCInternals class.
4 years, 10 months ago (2016-02-08 13:27:15 UTC) #4
tommi (sloooow) - chröme
Add documentation.
4 years, 10 months ago (2016-02-08 13:47:51 UTC) #5
tommi (sloooow) - chröme
Addressed all comments. I also changed the way we test the WebRTCInternals class. It's simpler ...
4 years, 10 months ago (2016-02-08 13:50:23 UTC) #6
tommi (sloooow) - chröme
Fix gn build
4 years, 10 months ago (2016-02-08 14:25:09 UTC) #7
Henrik Grunell
https://codereview.chromium.org/1676043002/diff/1/content/browser/media/webrtc_internals.cc File content/browser/media/webrtc_internals.cc (right): https://codereview.chromium.org/1676043002/diff/1/content/browser/media/webrtc_internals.cc#newcode107 content/browser/media/webrtc_internals.cc:107: SendUpdate("addPeerConnection", dict->CreateDeepCopy()); On 2016/02/08 13:50:23, tommi-chromium wrote: > On ...
4 years, 10 months ago (2016-02-09 08:18:11 UTC) #8
tommi (sloooow) - chröme
Add documentation and thread checker
4 years, 10 months ago (2016-02-09 09:32:02 UTC) #9
tommi (sloooow) - chröme
Thanks. I still need to figure out the issue with the debug gn bot. Will ...
4 years, 10 months ago (2016-02-09 09:34:16 UTC) #10
Henrik Grunell
This should be the final comments, on comments only. Great change to the unit test! ...
4 years, 10 months ago (2016-02-09 11:47:48 UTC) #11
tommi (sloooow) - chröme
Fix the _right_ gn file.
4 years, 10 months ago (2016-02-09 11:53:40 UTC) #12
tommi (sloooow) - chröme
Address comments
4 years, 10 months ago (2016-02-09 11:59:52 UTC) #13
tommi (sloooow) - chröme
OK, I think we're good to go with the GN fix now. Addressed the comments. ...
4 years, 10 months ago (2016-02-09 12:13:53 UTC) #14
Henrik Grunell
lgtm
4 years, 10 months ago (2016-02-09 13:54:24 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1676043002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1676043002/120001
4 years, 10 months ago (2016-02-09 14:50:46 UTC) #17
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 10 months ago (2016-02-09 14:56:39 UTC) #18
commit-bot: I haz the power
4 years, 10 months ago (2016-02-09 14:57:34 UTC) #20
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/75d54fe84473d8a17cf4a28d05fa2fc6d104ab54
Cr-Commit-Position: refs/heads/master@{#374373}

Powered by Google App Engine
This is Rietveld 408576698