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

Issue 2727233002: Don't collect a log per peerconnection if webrtc-internals isn't open. (Closed)

Created:
3 years, 9 months ago by tommi (sloooow) - chröme
Modified:
3 years, 9 months ago
Reviewers:
Henrik Grunell
CC:
chromium-reviews, jam, darin-cc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't collect a log per peerconnection if webrtc-internals isn't open. Maintaining this list can be quite taxing in terms of memory and CPU. Moving forward, I think we should change the behavior so that there's no perf impact if chrome://webrtc-internals isn't open. BUG=697618 Review-Url: https://codereview.chromium.org/2727233002 Cr-Commit-Position: refs/heads/master@{#454862} Committed: https://chromium.googlesource.com/chromium/src/+/15e9cea557ba0b294d87cc8eb64317ad2490514e

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix bug! #

Patch Set 3 : Fix issues #

Total comments: 15

Patch Set 4 : Address comments, add tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -101 lines) Patch
M content/browser/webrtc/webrtc_internals.h View 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/webrtc/webrtc_internals.cc View 1 2 3 7 chunks +77 lines, -64 lines 0 comments Download
M content/browser/webrtc/webrtc_internals_unittest.cc View 1 2 3 12 chunks +90 lines, -37 lines 0 comments Download

Messages

Total messages: 31 (19 generated)
tommi (sloooow) - chröme
3 years, 9 months ago (2017-03-02 11:16:05 UTC) #2
tommi (sloooow) - chröme
Fix bug!
3 years, 9 months ago (2017-03-02 11:17:30 UTC) #5
tommi (sloooow) - chröme
https://codereview.chromium.org/2727233002/diff/1/content/browser/webrtc/webrtc_internals.cc File content/browser/webrtc/webrtc_internals.cc (right): https://codereview.chromium.org/2727233002/diff/1/content/browser/webrtc/webrtc_internals.cc#newcode45 content/browser/webrtc/webrtc_internals.cc:45: dict->Set("log", new base::ListValue()); oops... fix is on the way.
3 years, 9 months ago (2017-03-02 11:17:47 UTC) #6
tommi (sloooow) - chröme
3 years, 9 months ago (2017-03-02 11:17:47 UTC) #7
tommi (sloooow) - chröme
Fix issues
3 years, 9 months ago (2017-03-02 15:38:00 UTC) #12
tommi (sloooow) - chröme
Henrik - can you take a look? -guidou since he's ooo
3 years, 9 months ago (2017-03-03 08:51:10 UTC) #18
Henrik Grunell
In addition to comments: is there an integration test for this that needs to be ...
3 years, 9 months ago (2017-03-03 12:40:10 UTC) #19
tommi (sloooow) - chröme
Address comments, add tests
3 years, 9 months ago (2017-03-03 14:15:01 UTC) #20
tommi (sloooow) - chröme
https://codereview.chromium.org/2727233002/diff/40001/content/browser/webrtc/webrtc_internals.cc File content/browser/webrtc/webrtc_internals.cc (right): https://codereview.chromium.org/2727233002/diff/40001/content/browser/webrtc/webrtc_internals.cc#newcode54 content/browser/webrtc/webrtc_internals.cc:54: auto* dict = static_cast<base::DictionaryValue*>(value); On 2017/03/03 12:40:09, Henrik Grunell ...
3 years, 9 months ago (2017-03-03 14:15:14 UTC) #21
Henrik Grunell
lgtm https://codereview.chromium.org/2727233002/diff/40001/content/browser/webrtc/webrtc_internals.cc File content/browser/webrtc/webrtc_internals.cc (right): https://codereview.chromium.org/2727233002/diff/40001/content/browser/webrtc/webrtc_internals.cc#newcode54 content/browser/webrtc/webrtc_internals.cc:54: auto* dict = static_cast<base::DictionaryValue*>(value); On 2017/03/03 14:15:14, tommi ...
3 years, 9 months ago (2017-03-06 11:49:24 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2727233002/60001
3 years, 9 months ago (2017-03-06 12:11:58 UTC) #28
commit-bot: I haz the power
3 years, 9 months ago (2017-03-06 13:57:12 UTC) #31
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/15e9cea557ba0b294d87cc8eb643...

Powered by Google App Engine
This is Rietveld 408576698