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

Issue 15741003: Moving WebRTC logging related files from content to chrome. (Closed)

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

Description

Moving WebRTC logging related files from content to chrome. BUG=229829 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203516

Patch Set 1 #

Total comments: 12

Patch Set 2 : Code review #

Patch Set 3 : Public content API for setting the log delegate. #

Total comments: 7

Patch Set 4 : Removed client API and moved parsing of constraint to libjingle. Also rebase changes. #

Patch Set 5 : Fixed some errors. #

Total comments: 6

Patch Set 6 : Code review. #

Patch Set 7 : Changing log message delegation path to go via content. #

Total comments: 4

Patch Set 8 : Code review - comments updated. #

Patch Set 9 : Fixed handler unit test. #

Total comments: 9

Patch Set 10 : Code review. #

Total comments: 9

Patch Set 11 : Code review. #

Patch Set 12 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+263 lines, -1048 lines) Patch
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +7 lines, -0 lines 0 comments Download
A + chrome/browser/media/webrtc_logging_handler_host.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +5 lines, -9 lines 0 comments Download
A + chrome/browser/media/webrtc_logging_handler_host.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +4 lines, -6 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +7 lines, -5 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +8 lines, -0 lines 0 comments Download
M chrome/chrome_renderer.gypi View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/common/common_message_generator.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
A + chrome/common/media/webrtc_logging_messages.h View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/partial_circular_buffer.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +4 lines, -9 lines 0 comments Download
A + chrome/common/partial_circular_buffer.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +1 line, -5 lines 0 comments Download
A + chrome/common/partial_circular_buffer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +1 line, -5 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +12 lines, -0 lines 0 comments Download
A + chrome/renderer/media/webrtc_logging_handler_impl.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +16 lines, -16 lines 0 comments Download
A + chrome/renderer/media/webrtc_logging_handler_impl.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +29 lines, -19 lines 0 comments Download
A + chrome/renderer/media/webrtc_logging_handler_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +4 lines, -8 lines 0 comments Download
A + chrome/renderer/media/webrtc_logging_message_filter.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +7 lines, -12 lines 0 comments Download
A + chrome/renderer/media/webrtc_logging_message_filter.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +14 lines, -15 lines 0 comments Download
D content/browser/renderer_host/media/webrtc_logging_handler_host.h View 1 2 3 4 5 6 1 chunk +0 lines, -44 lines 0 comments Download
D content/browser/renderer_host/media/webrtc_logging_handler_host.cc View 1 2 3 4 5 6 1 chunk +0 lines, -68 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +0 lines, -7 lines 0 comments Download
M content/common/content_message_generator.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
D content/common/media/webrtc_logging_messages.h View 1 2 3 4 5 6 1 chunk +0 lines, -28 lines 0 comments Download
D content/common/partial_circular_buffer.h View 1 chunk +0 lines, -70 lines 0 comments Download
D content/common/partial_circular_buffer.cc View 1 chunk +0 lines, -166 lines 0 comments Download
D content/common/partial_circular_buffer_unittest.cc View 1 chunk +0 lines, -138 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -2 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +0 lines, -3 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +3 lines, -4 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +0 lines, -2 lines 0 comments Download
M content/public/renderer/content_renderer_client.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
A content/public/renderer/webrtc_log_message_delegate.h View 1 2 3 4 5 6 7 8 9 1 chunk +38 lines, -0 lines 0 comments Download
M content/renderer/media/media_stream_dependency_factory.h View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/media/media_stream_dependency_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +4 lines, -20 lines 0 comments Download
D content/renderer/media/webrtc_logging_handler_impl.h View 1 chunk +0 lines, -56 lines 0 comments Download
D content/renderer/media/webrtc_logging_handler_impl.cc View 1 chunk +0 lines, -65 lines 0 comments Download
D content/renderer/media/webrtc_logging_handler_impl_unittest.cc View 1 chunk +0 lines, -50 lines 0 comments Download
A content/renderer/media/webrtc_logging_initializer.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +23 lines, -0 lines 0 comments Download
A content/renderer/media/webrtc_logging_initializer.cc View 1 2 3 4 5 6 7 8 9 1 chunk +37 lines, -0 lines 0 comments Download
D content/renderer/media/webrtc_logging_message_filter.h View 1 2 3 4 5 6 1 chunk +0 lines, -68 lines 0 comments Download
D content/renderer/media/webrtc_logging_message_filter.cc View 1 2 3 4 5 6 1 chunk +0 lines, -89 lines 0 comments Download
M content/renderer/render_thread_impl.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +0 lines, -8 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +0 lines, -7 lines 0 comments Download
M third_party/libjingle/libjingle.gyp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/libjingle/overrides/logging/log_message_delegate.h View 1 2 3 4 5 6 1 chunk +0 lines, -27 lines 0 comments Download
M third_party/libjingle/overrides/talk/base/logging.h View 1 2 3 4 5 6 2 chunks +2 lines, -5 lines 0 comments Download
M third_party/libjingle/overrides/talk/base/logging.cc View 1 2 3 4 5 6 5 chunks +7 lines, -7 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
Henrik Grunell
Hi, per jam@'s request, I've moved all WebRTC logging related files from content to chrome. ...
7 years, 7 months ago (2013-05-22 12:43:36 UTC) #1
Avi (use Gerrit)
Sure, mod nits. lgtm https://codereview.chromium.org/15741003/diff/1/content/renderer/media/media_stream_dependency_factory.cc File content/renderer/media/media_stream_dependency_factory.cc (right): https://codereview.chromium.org/15741003/diff/1/content/renderer/media/media_stream_dependency_factory.cc#newcode21 content/renderer/media/media_stream_dependency_factory.cc:21: //#include "content/renderer/media/webrtc_logging_message_filter.h" don't comment out ...
7 years, 7 months ago (2013-05-22 14:39:57 UTC) #2
sky
https://codereview.chromium.org/15741003/diff/1/chrome/browser/media/webrtc_logging_handler_host.h File chrome/browser/media/webrtc_logging_handler_host.h (right): https://codereview.chromium.org/15741003/diff/1/chrome/browser/media/webrtc_logging_handler_host.h#newcode12 chrome/browser/media/webrtc_logging_handler_host.h:12: namespace chrome { note: its fine to use the ...
7 years, 7 months ago (2013-05-22 16:19:32 UTC) #3
Sergey Ulanov
libjingle in DEPS - lgtm
7 years, 7 months ago (2013-05-22 17:48:25 UTC) #4
Chris Evans
On 2013/05/22 17:48:25, Sergey Ulanov wrote: > libjingle in DEPS - lgtm LGTM
7 years, 7 months ago (2013-05-22 19:13:32 UTC) #5
Henrik Grunell
Made code review fixes. The rest of the changes are due to rebase. One thing ...
7 years, 7 months ago (2013-05-23 12:50:11 UTC) #6
Henrik Grunell
On 2013/05/23 12:50:11, Henrik Grunell wrote: > One thing that doesn't work is a shared ...
7 years, 7 months ago (2013-05-23 13:31:12 UTC) #7
Jói
Hi Henrik, Sorry about the late response, I had a busy morning. I will try ...
7 years, 7 months ago (2013-05-23 20:40:15 UTC) #8
jam
+1 to both of Joi's points. can we avoid having any changes at all in ...
7 years, 7 months ago (2013-05-24 08:28:46 UTC) #9
tommi (sloooow) - chröme
Changing libjingle to support shared_library: TL;DR: Making that change would be nice, but it will ...
7 years, 7 months ago (2013-05-24 10:32:31 UTC) #10
Henrik Grunell
On 2013/05/24 10:32:31, tommi wrote: > Changing libjingle to support shared_library: > TL;DR: Making that ...
7 years, 7 months ago (2013-05-24 11:30:21 UTC) #11
tommi (sloooow) - chröme
https://chromiumcodereview.appspot.com/15741003/diff/33001/chrome/renderer/DEPS File chrome/renderer/DEPS (right): https://chromiumcodereview.appspot.com/15741003/diff/33001/chrome/renderer/DEPS#newcode24 chrome/renderer/DEPS:24: "+third_party/libjingle", Hej Henrik - I think we should revert ...
7 years, 7 months ago (2013-05-24 16:27:49 UTC) #12
Henrik Grunell
https://chromiumcodereview.appspot.com/15741003/diff/33001/chrome/renderer/DEPS File chrome/renderer/DEPS (right): https://chromiumcodereview.appspot.com/15741003/diff/33001/chrome/renderer/DEPS#newcode24 chrome/renderer/DEPS:24: "+third_party/libjingle", On 2013/05/24 16:27:49, tommi wrote: > Hej Henrik ...
7 years, 7 months ago (2013-05-24 18:26:01 UTC) #13
Jói
I took another brief look, with the latest details from Henrik and Tommi in mind. ...
7 years, 7 months ago (2013-05-24 20:47:29 UTC) #14
Henrik Grunell
- Removed client API. - Moved parsing of constraint to libjingle. - Also rebase changes. ...
7 years, 6 months ago (2013-05-27 16:23:06 UTC) #15
Jói
I think this is looking pretty good, with some nits and questions below. You'll need ...
7 years, 6 months ago (2013-05-27 17:50:03 UTC) #16
Henrik Grunell
https://chromiumcodereview.appspot.com/15741003/diff/33001/chrome/renderer/DEPS File chrome/renderer/DEPS (right): https://chromiumcodereview.appspot.com/15741003/diff/33001/chrome/renderer/DEPS#newcode24 chrome/renderer/DEPS:24: "+third_party/libjingle", On 2013/05/27 17:50:03, Jói wrote: > On 2013/05/27 ...
7 years, 6 months ago (2013-05-28 06:04:29 UTC) #17
Jói
LGTM, please get a final sign-off from jam@ On Tue, May 28, 2013 at 7:04 ...
7 years, 6 months ago (2013-05-28 10:48:22 UTC) #18
sky
chrome side LGTM
7 years, 6 months ago (2013-05-28 15:38:09 UTC) #19
Henrik Grunell
I've made a final change as was agreed by jam@ and tommi@. The log messages ...
7 years, 6 months ago (2013-05-29 16:11:21 UTC) #20
Avi (use Gerrit)
SLGTM
7 years, 6 months ago (2013-05-29 16:12:47 UTC) #21
jam
https://codereview.chromium.org/15741003/diff/39002/content/public/renderer/media/webrtc_log_message_delegate.h File content/public/renderer/media/webrtc_log_message_delegate.h (right): https://codereview.chromium.org/15741003/diff/39002/content/public/renderer/media/webrtc_log_message_delegate.h#newcode14 content/public/renderer/media/webrtc_log_message_delegate.h:14: // purpose is to forward mainly libjingle log messages ...
7 years, 6 months ago (2013-05-29 16:25:48 UTC) #22
Henrik Grunell
https://chromiumcodereview.appspot.com/15741003/diff/39002/content/public/renderer/media/webrtc_log_message_delegate.h File content/public/renderer/media/webrtc_log_message_delegate.h (right): https://chromiumcodereview.appspot.com/15741003/diff/39002/content/public/renderer/media/webrtc_log_message_delegate.h#newcode14 content/public/renderer/media/webrtc_log_message_delegate.h:14: // purpose is to forward mainly libjingle log messages ...
7 years, 6 months ago (2013-05-29 16:56:58 UTC) #23
jam
(just looked through content, this time more thoroughly) https://codereview.chromium.org/15741003/diff/81001/content/public/renderer/media/webrtc_log_message_delegate.h File content/public/renderer/media/webrtc_log_message_delegate.h (right): https://codereview.chromium.org/15741003/diff/81001/content/public/renderer/media/webrtc_log_message_delegate.h#newcode1 content/public/renderer/media/webrtc_log_message_delegate.h:1: // ...
7 years, 6 months ago (2013-05-29 17:56:19 UTC) #24
Henrik Grunell
https://chromiumcodereview.appspot.com/15741003/diff/81001/content/public/renderer/media/webrtc_log_message_delegate.h File content/public/renderer/media/webrtc_log_message_delegate.h (right): https://chromiumcodereview.appspot.com/15741003/diff/81001/content/public/renderer/media/webrtc_log_message_delegate.h#newcode1 content/public/renderer/media/webrtc_log_message_delegate.h:1: // Copyright (c) 2013 The Chromium Authors. All rights ...
7 years, 6 months ago (2013-05-29 18:25:51 UTC) #25
jam
lgtm, thanks for doing this https://chromiumcodereview.appspot.com/15741003/diff/88001/chrome/browser/media/webrtc_logging_handler_host.h File chrome/browser/media/webrtc_logging_handler_host.h (right): https://chromiumcodereview.appspot.com/15741003/diff/88001/chrome/browser/media/webrtc_logging_handler_host.h#newcode12 chrome/browser/media/webrtc_logging_handler_host.h:12: namespace chrome { nit: ...
7 years, 6 months ago (2013-05-30 15:01:17 UTC) #26
Henrik Grunell
https://chromiumcodereview.appspot.com/15741003/diff/88001/chrome/browser/media/webrtc_logging_handler_host.h File chrome/browser/media/webrtc_logging_handler_host.h (right): https://chromiumcodereview.appspot.com/15741003/diff/88001/chrome/browser/media/webrtc_logging_handler_host.h#newcode12 chrome/browser/media/webrtc_logging_handler_host.h:12: namespace chrome { On 2013/05/30 15:01:17, jam wrote: > ...
7 years, 6 months ago (2013-05-31 19:26:38 UTC) #27
jam
https://chromiumcodereview.appspot.com/15741003/diff/88001/chrome/renderer/media/webrtc_logging_handler_impl.h File chrome/renderer/media/webrtc_logging_handler_impl.h (right): https://chromiumcodereview.appspot.com/15741003/diff/88001/chrome/renderer/media/webrtc_logging_handler_impl.h#newcode27 chrome/renderer/media/webrtc_logging_handler_impl.h:27: class WebRtcLoggingHandlerImpl On 2013/05/31 19:26:38, Henrik Grunell wrote: > ...
7 years, 6 months ago (2013-05-31 19:38:10 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grunell@chromium.org/15741003/100001
7 years, 6 months ago (2013-05-31 19:57:05 UTC) #29
commit-bot: I haz the power
7 years, 6 months ago (2013-05-31 23:58:33 UTC) #30
Message was sent while issue was closed.
Change committed as 203516

Powered by Google App Engine
This is Rietveld 408576698