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

Issue 14329020: Implementing uploading of a WebRTC diagnostic log. (Closed)

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

Description

Patch Set 1 #

Total comments: 4

Patch Set 2 : Refactoring. #

Patch Set 3 : Fixed pre-submit warnings/errors (including adding bzip2 to content/browser DEPS). #

Total comments: 4

Patch Set 4 : Refactoring + cleaning code. #

Patch Set 5 : Moved uploader to components (and removed log manager), partial circular buffer to base. Plus chang… #

Patch Set 6 : Removed two files #

Total comments: 20

Patch Set 7 : Limit to max 5 simultaneous logs + a few other todo fixes. #

Patch Set 8 : Code review. #

Total comments: 17

Patch Set 9 : Code review and rebase #

Patch Set 10 : Removed move of PartialCircularBuffer since it's in another CL. #

Patch Set 11 : Remove a little piece of test code. #

Patch Set 12 : Upload again (error last upload). #

Total comments: 29

Patch Set 13 : Code review + use zlib instead of bzip2 #

Patch Set 14 : Removed file added by mistake. #

Total comments: 2

Patch Set 15 : Code review, added url and app session id, rebase #

Total comments: 13

Patch Set 16 : Code review #

Patch Set 17 : Rebased on CL that moves files to //chrome. #

Patch Set 18 : Minor cleanup. #

Patch Set 19 : Moved uploader to //chrome. #

Patch Set 20 : Rebased. Moved uploader out of chrome namespace. #

Patch Set 21 : Fixed minor rebase merge miss. #

Patch Set 22 : Fixed unit test build error. #

Patch Set 23 : Fixed build error on ChromeOS. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+410 lines, -17 lines) Patch
M chrome/browser/browser_process.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/browser_process_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/browser_process_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/media/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -0 lines 0 comments Download
A chrome/browser/media/webrtc_log_uploader.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +75 lines, -0 lines 0 comments Download
A chrome/browser/media/webrtc_log_uploader.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +198 lines, -0 lines 0 comments Download
M chrome/browser/media/webrtc_logging_handler_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +25 lines, -8 lines 0 comments Download
M chrome/browser/media/webrtc_logging_handler_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +70 lines, -9 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/test/base/testing_browser_process.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/test/base/testing_browser_process.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 47 (0 generated)
Jói
My first comment is that the log uploader should probably be a component (e.g. //components/webrtc_log_uploader) ...
7 years, 8 months ago (2013-04-26 12:55:10 UTC) #1
Henrik Grunell
Thanks for looking at this Jói. I've done some refactoring to meet the requirements of ...
7 years, 7 months ago (2013-04-29 17:58:19 UTC) #2
Jói
Hi Henrik, Sorry for the delay, I was on vacation for a few days. Regarding ...
7 years, 7 months ago (2013-05-02 16:47:31 UTC) #3
Henrik Grunell
https://chromiumcodereview.appspot.com/14329020/diff/8001/content/browser/renderer_host/webrtc_logging_handler_host.cc File content/browser/renderer_host/webrtc_logging_handler_host.cc (right): https://chromiumcodereview.appspot.com/14329020/diff/8001/content/browser/renderer_host/webrtc_logging_handler_host.cc#newcode95 content/browser/renderer_host/webrtc_logging_handler_host.cc:95: // TODO(grunell): Move to chrome. On 2013/05/02 16:47:31, Jói ...
7 years, 7 months ago (2013-05-03 07:59:36 UTC) #4
Jói
I haven't taken a look at your latest patch, this is based only on your ...
7 years, 7 months ago (2013-05-03 11:52:32 UTC) #5
Henrik Grunell
On 2013/05/03 11:52:32, Jói wrote: > I haven't taken a look at your latest patch, ...
7 years, 7 months ago (2013-05-07 12:31:08 UTC) #6
Jói
Hi Henrik, Can you explain to me why you need the partial circular buffer WebRtcLoggingHandlerImpl ...
7 years, 7 months ago (2013-05-07 15:36:40 UTC) #7
Henrik Grunell
The partial circular buffer wraps at a selectable position, so it's used for keeping the ...
7 years, 7 months ago (2013-05-07 19:07:13 UTC) #8
Jói
Thanks Henrik. What is the overall intended behavior? Do only the first and last X ...
7 years, 7 months ago (2013-05-08 13:37:43 UTC) #9
Henrik Grunell
Only the first and last parts are uploaded. On 2013/05/08 13:37:43, Jói wrote: > Thanks ...
7 years, 7 months ago (2013-05-08 14:00:29 UTC) #10
Jói
Various nits and a few larger comments. I can review again once you've followed up ...
7 years, 7 months ago (2013-05-08 14:14:22 UTC) #11
Henrik Grunell
https://chromiumcodereview.appspot.com/14329020/diff/29001/components/webrtc_log_uploader/webrtc_log_uploader.cc File components/webrtc_log_uploader/webrtc_log_uploader.cc (right): https://chromiumcodereview.appspot.com/14329020/diff/29001/components/webrtc_log_uploader/webrtc_log_uploader.cc#newcode1 components/webrtc_log_uploader/webrtc_log_uploader.cc:1: // Copyright (c) 2013 The Chromium Authors. All rights ...
7 years, 7 months ago (2013-05-08 16:05:05 UTC) #12
Jói
Thanks Henrik. I will wait until you've had a chance to speak to wtc@ and ...
7 years, 7 months ago (2013-05-08 17:00:31 UTC) #13
Henrik Grunell
Wan-Teh doesn't know of any multipart code in net, none of us can find anything ...
7 years, 7 months ago (2013-05-10 08:05:57 UTC) #14
Jói
OK, thanks Henrik. If there's a function copied from Cloud Print (a DRY violation) then ...
7 years, 7 months ago (2013-05-10 10:43:57 UTC) #15
wtc
On 2013/05/10 10:43:57, Jói wrote: > > If there's a function copied from Cloud Print ...
7 years, 7 months ago (2013-05-10 18:00:38 UTC) #16
vabr (Chromium)
Hi Henrik, I checked that what WebRtcLogUploader produces is a valid multipart body according to ...
7 years, 7 months ago (2013-05-13 08:55:50 UTC) #17
Jói
> I seem to remember someone wants to move the MIME utilities file > out ...
7 years, 7 months ago (2013-05-13 14:12:15 UTC) #18
wtc
On 2013/05/13 14:12:15, Jói wrote: > > I'm not sure it feels right to insist ...
7 years, 7 months ago (2013-05-13 17:11:07 UTC) #19
Henrik Grunell
OK, I take it you are agreeing. Created CL https://codereview.chromium.org/15076008/ for moving the function. On ...
7 years, 7 months ago (2013-05-14 12:53:56 UTC) #20
Henrik Grunell
On 2013/05/13 08:55:50, vabr (Chromium) wrote: > Hi Henrik, > > I checked that what ...
7 years, 7 months ago (2013-05-14 13:48:36 UTC) #21
Henrik Grunell
https://chromiumcodereview.appspot.com/14329020/diff/34005/components/webrtc_log_uploader/webrtc_log_uploader.cc File components/webrtc_log_uploader/webrtc_log_uploader.cc (right): https://chromiumcodereview.appspot.com/14329020/diff/34005/components/webrtc_log_uploader/webrtc_log_uploader.cc#newcode69 components/webrtc_log_uploader/webrtc_log_uploader.cc:69: CHECK(url_request_context_.get()); On 2013/05/13 08:55:50, vabr (Chromium) wrote: > nit: ...
7 years, 7 months ago (2013-05-14 13:48:50 UTC) #22
Henrik Grunell
Adding owners reviewers. Please review. sky@: chrome/* tommi@: content/browser/renderer_host/media/* content/renderer/media/*
7 years, 7 months ago (2013-05-14 14:43:10 UTC) #23
Henrik Grunell
Adding wtc@ for owner review of added dep on net in components/webrtc_log_uploader/DEPS.
7 years, 7 months ago (2013-05-14 14:48:12 UTC) #24
vabr (Chromium)
LGTM https://codereview.chromium.org/14329020/diff/34005/components/webrtc_log_uploader/webrtc_log_uploader.cc File components/webrtc_log_uploader/webrtc_log_uploader.cc (right): https://codereview.chromium.org/14329020/diff/34005/components/webrtc_log_uploader/webrtc_log_uploader.cc#newcode141 components/webrtc_log_uploader/webrtc_log_uploader.cc:141: content_type.append(kMultipartBoundary); On 2013/05/14 13:48:50, Henrik Grunell wrote: > ...
7 years, 7 months ago (2013-05-14 15:24:41 UTC) #25
sky
I find the coverage of ENABLE_WEBRTC is bit confusing. Shouldn't it be every where you're ...
7 years, 7 months ago (2013-05-14 17:25:45 UTC) #26
wtc
Patch set 12 LGTM. As instructed, I only reviewed components/webrtc_log_uploader/DEPS. https://chromiumcodereview.appspot.com/14329020/diff/70001/components/components.gyp File components/components.gyp (right): https://chromiumcodereview.appspot.com/14329020/diff/70001/components/components.gyp#newcode16 ...
7 years, 7 months ago (2013-05-14 18:49:47 UTC) #27
Jói
https://chromiumcodereview.appspot.com/14329020/diff/70001/components/webrtc_log_uploader/webrtc_log_uploader.cc File components/webrtc_log_uploader/webrtc_log_uploader.cc (right): https://chromiumcodereview.appspot.com/14329020/diff/70001/components/webrtc_log_uploader/webrtc_log_uploader.cc#newcode7 components/webrtc_log_uploader/webrtc_log_uploader.cc:7: #if defined(USE_SYSTEM_LIBBZ2) nit: I think conditional includes usually come ...
7 years, 7 months ago (2013-05-14 21:30:29 UTC) #28
Henrik Grunell
- Added agl@ as reviewer of third_party/zlib/* and addition of zlib in components/webrtc_log_uploader/DEPS. - Replaced ...
7 years, 7 months ago (2013-05-15 20:17:52 UTC) #29
agl
NACK on the zlib change. Nothing else has needed it and you're using entirely typical ...
7 years, 7 months ago (2013-05-15 20:37:01 UTC) #30
Jói
Henrik, sounds good to finish the TODOs in the current patch before sending out for ...
7 years, 7 months ago (2013-05-15 23:25:14 UTC) #31
tommi (sloooow) - chröme
lgtm for content/browser/renderer_host/media/* https://chromiumcodereview.appspot.com/14329020/diff/89001/content/browser/renderer_host/media/webrtc_logging_handler_host.h File content/browser/renderer_host/media/webrtc_logging_handler_host.h (right): https://chromiumcodereview.appspot.com/14329020/diff/89001/content/browser/renderer_host/media/webrtc_logging_handler_host.h#newcode13 content/browser/renderer_host/media/webrtc_logging_handler_host.h:13: } nit: } // base
7 years, 7 months ago (2013-05-16 12:06:49 UTC) #32
jam
looking at this change and the other ones in http://src.chromium.org/viewvc/chrome/trunk/src/content/renderer/media/webrtc_logging_message_filter.cc?view=log#revHEAD, can all these files be ...
7 years, 7 months ago (2013-05-19 16:37:40 UTC) #33
Henrik Grunell
- Code review fixes, including all todos (added on new though for a tbd). - ...
7 years, 7 months ago (2013-05-24 13:01:50 UTC) #34
Jói
Thanks for switching to doing everything in memory, looks much simpler to me. Cheers, Jói ...
7 years, 7 months ago (2013-05-24 21:14:05 UTC) #35
Henrik Grunell
Code review fixes. https://chromiumcodereview.appspot.com/14329020/diff/96001/components/webrtc_log_uploader/webrtc_log_uploader.cc File components/webrtc_log_uploader/webrtc_log_uploader.cc (right): https://chromiumcodereview.appspot.com/14329020/diff/96001/components/webrtc_log_uploader/webrtc_log_uploader.cc#newcode96 components/webrtc_log_uploader/webrtc_log_uploader.cc:96: #if defined(OS_WIN) On 2013/05/24 21:14:06, Jói ...
7 years, 7 months ago (2013-05-27 13:00:32 UTC) #36
Jói
Thanks, fixes look good. I'll take another look once you've rebased. On Mon, May 27, ...
7 years, 7 months ago (2013-05-27 13:03:37 UTC) #37
Henrik Grunell
On 2013/05/27 13:03:37, Jói wrote: > Thanks, fixes look good. I'll take another look once ...
7 years, 6 months ago (2013-05-28 09:08:33 UTC) #38
Jói
The PartialCircularBuffer could live in //components/webrtc_log_uploader and be used from there by //chrome. It's up ...
7 years, 6 months ago (2013-05-28 10:50:18 UTC) #39
Henrik Grunell
I've moved the uploader to //chrome. As you said it's unlikely it will be used ...
7 years, 6 months ago (2013-05-28 11:56:42 UTC) #40
agl
LGTM for DEPS.
7 years, 6 months ago (2013-05-28 14:18:57 UTC) #41
Jói
LGTM
7 years, 6 months ago (2013-05-28 15:22:42 UTC) #42
sky
chrom/browser LGTM (I didn't review c/b/media as you got other reviewers to review it)
7 years, 6 months ago (2013-05-29 14:53:30 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grunell@chromium.org/14329020/144001
7 years, 6 months ago (2013-06-03 09:24:09 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grunell@chromium.org/14329020/148001
7 years, 6 months ago (2013-06-03 09:52:45 UTC) #45
commit-bot: I haz the power
Change committed as 203700
7 years, 6 months ago (2013-06-03 11:52:48 UTC) #46
Henrik Grunell
7 years, 6 months ago (2013-06-03 14:06:00 UTC) #47
Message was sent while issue was closed.
Committed patchset #23 manually as r203711 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698