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

Issue 1871533002: Change WebRTC log callback registration in browser process. (Closed)

Created:
4 years, 8 months ago by Henrik Grunell
Modified:
4 years, 8 months ago
CC:
chromium-reviews, creis+watch_chromium.org, posciak+watch_chromium.org, nasko+codewatch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, miu+watch_chromium.org, vanellope-cl_google.com
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change WebRTC log callback registration in browser process. This ensures we forward all log messages, also when shutting down. * Register the callback when logging is started, and unregister when stopping. * Remove the MediaStream request filtering when running callbacks. BUG=601389 Committed: https://crrev.com/34f2e5e23e6a3a34742089fc49590075d4352685 Cr-Commit-Position: refs/heads/master@{#386058}

Patch Set 1 #

Total comments: 15

Patch Set 2 : Code review (tommi) #

Patch Set 3 : Code review (olka) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -25 lines) Patch
M chrome/browser/chrome_content_browser_client.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/media/webrtc_log_uploader_unittest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/media/webrtc_logging_handler_host.h View 3 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/media/webrtc_logging_handler_host.cc View 1 2 5 chunks +38 lines, -2 lines 0 comments Download
M content/browser/renderer_host/media/media_stream_manager.cc View 1 chunk +2 lines, -10 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 chunks +10 lines, -4 lines 0 comments Download
M content/public/browser/render_process_host.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/public/test/mock_render_process_host.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/public/test/mock_render_process_host.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 27 (11 generated)
Henrik Grunell
Tommi: chrome/browser/*/media/* Avi: content/browser/renderer_host/* and content/public/browser/* Olga: Everything
4 years, 8 months ago (2016-04-07 12:35:43 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1871533002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1871533002/1
4 years, 8 months ago (2016-04-07 12:50:50 UTC) #7
tommi (sloooow) - chröme
https://codereview.chromium.org/1871533002/diff/1/chrome/browser/media/webrtc_logging_handler_host.cc File chrome/browser/media/webrtc_logging_handler_host.cc (right): https://codereview.chromium.org/1871533002/diff/1/chrome/browser/media/webrtc_logging_handler_host.cc#newcode671 chrome/browser/media/webrtc_logging_handler_host.cc:671: host->UnsetWebRtcLogMessageCallback(); could this possibly 'unset' a callback that was ...
4 years, 8 months ago (2016-04-07 12:51:44 UTC) #8
o1ka
https://codereview.chromium.org/1871533002/diff/1/chrome/browser/media/webrtc_logging_handler_host.cc File chrome/browser/media/webrtc_logging_handler_host.cc (right): https://codereview.chromium.org/1871533002/diff/1/chrome/browser/media/webrtc_logging_handler_host.cc#newcode644 chrome/browser/media/webrtc_logging_handler_host.cc:644: BrowserThread::PostTask( Probably move it to the top to have ...
4 years, 8 months ago (2016-04-07 13:00:11 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/141200)
4 years, 8 months ago (2016-04-07 13:00:59 UTC) #11
Henrik Grunell
https://codereview.chromium.org/1871533002/diff/1/chrome/browser/media/webrtc_logging_handler_host.cc File chrome/browser/media/webrtc_logging_handler_host.cc (right): https://codereview.chromium.org/1871533002/diff/1/chrome/browser/media/webrtc_logging_handler_host.cc#newcode671 chrome/browser/media/webrtc_logging_handler_host.cc:671: host->UnsetWebRtcLogMessageCallback(); On 2016/04/07 12:51:44, tommi-sloooow wrote: > could this ...
4 years, 8 months ago (2016-04-07 13:34:53 UTC) #12
tommi (sloooow) - chröme
https://codereview.chromium.org/1871533002/diff/1/chrome/browser/media/webrtc_logging_handler_host.cc File chrome/browser/media/webrtc_logging_handler_host.cc (right): https://codereview.chromium.org/1871533002/diff/1/chrome/browser/media/webrtc_logging_handler_host.cc#newcode644 chrome/browser/media/webrtc_logging_handler_host.cc:644: BrowserThread::PostTask( On 2016/04/07 13:00:11, o1ka wrote: > Probably move ...
4 years, 8 months ago (2016-04-07 13:52:19 UTC) #13
Henrik Grunell
https://codereview.chromium.org/1871533002/diff/1/chrome/browser/media/webrtc_logging_handler_host.cc File chrome/browser/media/webrtc_logging_handler_host.cc (right): https://codereview.chromium.org/1871533002/diff/1/chrome/browser/media/webrtc_logging_handler_host.cc#newcode644 chrome/browser/media/webrtc_logging_handler_host.cc:644: BrowserThread::PostTask( On 2016/04/07 13:52:19, tommi-sloooow wrote: > On 2016/04/07 ...
4 years, 8 months ago (2016-04-07 14:32:59 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1871533002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1871533002/40001
4 years, 8 months ago (2016-04-07 14:33:28 UTC) #16
Avi (use Gerrit)
lgtm
4 years, 8 months ago (2016-04-07 14:53:31 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-07 15:45:34 UTC) #19
Henrik Grunell
Ping Tommi.
4 years, 8 months ago (2016-04-08 12:13:30 UTC) #20
tommi (sloooow) - chröme
lgtm
4 years, 8 months ago (2016-04-08 12:42:37 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1871533002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1871533002/40001
4 years, 8 months ago (2016-04-08 12:49:07 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-08 12:55:13 UTC) #25
commit-bot: I haz the power
4 years, 8 months ago (2016-04-08 12:56:45 UTC) #27
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/34f2e5e23e6a3a34742089fc49590075d4352685
Cr-Commit-Position: refs/heads/master@{#386058}

Powered by Google App Engine
This is Rietveld 408576698