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

Issue 23691066: Hook up WebRTC logging extension API to the underlying functionality. (Closed)

Created:
7 years, 3 months ago by Henrik Grunell
Modified:
7 years, 2 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, jam, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, chromium-apps-reviews_chromium.org, erikwright+watch_chromium.org
Visibility:
Public.

Description

Hook up WebRTC logging extension API to the underlying functionality. The API skeleton CL landed previously: https://chromiumcodereview.appspot.com/23885002/ In the CL: - Hook up the API to the logging functionality. - Changes to the logging functionality to allow for new API features. - Make RenderProcessHost a SupportsUserData, to be able to associate a logging handler host with it. - Made a fix in base/supports_user_data.h. - Removal of the old way of enabling logging via the JS PeerConnection constructor. - Refactorings due to the new API features and removals. TBR=jochen@chromium.org (for chrome/common/media/webrtc_logging_messages.h) BUG=298158 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=226805

Patch Set 1 #

Patch Set 2 : First patch ready for review. #

Total comments: 27

Patch Set 3 : Code review #

Patch Set 4 : Code review; trying upload again #

Patch Set 5 : Removed app_url; it can be set in the meta data instead. #

Patch Set 6 : Rebase #

Patch Set 7 : Rebase; uploading again. #

Patch Set 8 : Updated a unit test. #

Patch Set 9 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+513 lines, -224 lines) Patch
M base/supports_user_data.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 1 chunk +5 lines, -1 line 0 comments Download
chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.h View 1 2 5 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc View 1 2 3 4 8 chunks +112 lines, -32 lines 0 comments Download
M chrome/browser/media/webrtc_log_uploader.h View 1 2 3 4 5 chunks +31 lines, -12 lines 0 comments Download
M chrome/browser/media/webrtc_log_uploader.cc View 1 2 3 4 4 chunks +41 lines, -15 lines 0 comments Download
M chrome/browser/media/webrtc_logging_handler_host.h View 1 2 3 4 2 chunks +89 lines, -9 lines 0 comments Download
M chrome/browser/media/webrtc_logging_handler_host.cc View 1 2 3 4 5 chunks +160 lines, -53 lines 0 comments Download
M chrome/common/extensions/api/_permission_features.json View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/api/webrtc_logging_private.idl View 1 2 chunks +10 lines, -1 line 0 comments Download
M chrome/common/media/webrtc_logging_messages.h View 1 1 chunk +7 lines, -9 lines 0 comments Download
M chrome/renderer/media/chrome_webrtc_log_message_delegate.h View 1 2 chunks +2 lines, -5 lines 0 comments Download
M chrome/renderer/media/chrome_webrtc_log_message_delegate.cc View 1 2 3 4 5 6 7 4 chunks +12 lines, -18 lines 0 comments Download
M chrome/renderer/media/chrome_webrtc_log_message_delegate_unittest.cc View 1 2 3 4 5 6 7 1 chunk +15 lines, -7 lines 0 comments Download
M chrome/renderer/media/webrtc_logging_message_filter.h View 1 2 chunks +3 lines, -5 lines 0 comments Download
M chrome/renderer/media/webrtc_logging_message_filter.cc View 1 2 3 4 5 3 chunks +10 lines, -12 lines 0 comments Download
M content/public/browser/render_process_host.h View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
M content/public/renderer/webrtc_log_message_delegate.h View 1 2 chunks +3 lines, -5 lines 0 comments Download
M content/renderer/media/media_stream_dependency_factory.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M content/renderer/media/media_stream_dependency_factory.cc View 1 2 3 4 5 6 7 8 3 chunks +0 lines, -18 lines 0 comments Download
M content/renderer/media/webrtc_logging_initializer.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M content/renderer/media/webrtc_logging_initializer.cc View 1 1 chunk +2 lines, -6 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
Henrik Grunell
Hi, please review this. Idea of dividing (based on owners), feel free to review as ...
7 years, 2 months ago (2013-09-27 14:01:50 UTC) #1
Finnur
From an OWNERS perspective the extension stuff LGTM, but you should probably get someone with ...
7 years, 2 months ago (2013-09-27 14:10:06 UTC) #2
Henrik Grunell
On 2013/09/27 14:10:06, Finnur wrote: > From an OWNERS perspective the extension stuff LGTM, but ...
7 years, 2 months ago (2013-09-27 14:35:17 UTC) #3
Jói
//content/public LGTM. I did a quick pass on everything else in the change, see comments ...
7 years, 2 months ago (2013-09-27 14:39:52 UTC) #4
Jói
> Joi: I believe all the files in */media/* in this CL except > media_stream_dependency_factory.h/cc ...
7 years, 2 months ago (2013-09-27 14:54:06 UTC) #5
Mark Mentovai
I’m out until Tuesday, for faster service, you can pick an alternate reviewer for the ...
7 years, 2 months ago (2013-09-27 15:19:14 UTC) #6
Henrik Grunell
On 2013/09/27 15:19:14, Mark Mentovai wrote: > I’m out until Tuesday, for faster service, you ...
7 years, 2 months ago (2013-09-30 08:34:56 UTC) #7
willchan no longer on Chromium
lgtm
7 years, 2 months ago (2013-09-30 16:15:12 UTC) #8
jln (very slow on Chromium)
chrome/common/media/webrtc_logging_messages.h lgtm, under the assumption that there isn't really anything new. Please let me know ...
7 years, 2 months ago (2013-09-30 23:26:12 UTC) #9
Henrik Grunell
On 2013/09/30 23:26:12, jln wrote: > chrome/common/media/webrtc_logging_messages.h lgtm, under the assumption that > there isn't ...
7 years, 2 months ago (2013-10-01 06:29:39 UTC) #10
no longer working on chromium
https://codereview.chromium.org/23691066/diff/3001/chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc File chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc (right): https://codereview.chromium.org/23691066/diff/3001/chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc#newcode38 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc:38: std::vector<linked_ptr<api::webrtc_logging_private::MetaDataEntry> >::iterator Put it in the scope of for ...
7 years, 2 months ago (2013-10-01 08:41:41 UTC) #11
Henrik Grunell
* Code review fixes. See diff patch 2->3. * Removed app_url; the url can be ...
7 years, 2 months ago (2013-10-02 12:47:18 UTC) #12
no longer working on chromium
lgtm on media code. https://chromiumcodereview.appspot.com/23691066/diff/3001/content/renderer/media/webrtc_logging_initializer.h File content/renderer/media/webrtc_logging_initializer.h (left): https://chromiumcodereview.appspot.com/23691066/diff/3001/content/renderer/media/webrtc_logging_initializer.h#oldcode19 content/renderer/media/webrtc_logging_initializer.h:19: void WebRtcLogMessage(const std::string& message); On ...
7 years, 2 months ago (2013-10-02 12:55:10 UTC) #13
vrk (LEFT CHROMIUM)
lgtm
7 years, 2 months ago (2013-10-03 06:53:54 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grunell@chromium.org/23691066/40001
7 years, 2 months ago (2013-10-03 09:16:25 UTC) #15
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=28634
7 years, 2 months ago (2013-10-03 09:29:51 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grunell@chromium.org/23691066/40001
7 years, 2 months ago (2013-10-03 09:47:53 UTC) #17
Henrik Grunell
TBR'ing jochen@ as owner for chrome/common/media/webrtc_logging_messages.h. It has been reviewed by others already, including security.
7 years, 2 months ago (2013-10-03 10:01:07 UTC) #18
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 2 months ago (2013-10-03 10:16:08 UTC) #19
Henrik Grunell
Updated a unit test. (Patch set 8) Shijing, please take a look.
7 years, 2 months ago (2013-10-03 11:14:35 UTC) #20
no longer working on chromium
On 2013/10/03 11:14:35, Henrik Grunell wrote: > Updated a unit test. (Patch set 8) > ...
7 years, 2 months ago (2013-10-03 11:21:15 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grunell@chromium.org/23691066/73001
7 years, 2 months ago (2013-10-03 11:27:06 UTC) #22
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) content_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=205143
7 years, 2 months ago (2013-10-03 13:12:24 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grunell@chromium.org/23691066/96001
7 years, 2 months ago (2013-10-03 16:03:30 UTC) #24
commit-bot: I haz the power
7 years, 2 months ago (2013-10-03 18:44:08 UTC) #25
Message was sent while issue was closed.
Change committed as 226805

Powered by Google App Engine
This is Rietveld 408576698