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

Issue 2806653002: Add UMA to track why a download is non-parallel when enabled parallel (Closed)

Created:
3 years, 8 months ago by xingliu
Modified:
3 years, 8 months ago
CC:
chromium-reviews, jam, David Trainor- moved to gerrit, darin-cc_chromium.org, asvitkine+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add UMA to track why a download is non-parallel when enabled parallel downloading. Move the function to determine parallel download back to DownloadJobFactory, since now it contains UMA code and should be only called in one place. BUG=709295 Review-Url: https://codereview.chromium.org/2806653002 Cr-Commit-Position: refs/heads/master@{#463452} Committed: https://chromium.googlesource.com/chromium/src/+/c97ad191cb505a2e58a726a0aa5457668ae2477d

Patch Set 1 #

Total comments: 12

Patch Set 2 : Work on feedbacks. #

Patch Set 3 : Minor comment polish. #

Total comments: 14

Patch Set 4 : Polish on histogram naming. #

Total comments: 2

Patch Set 5 : Polish on the comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -24 lines) Patch
M content/browser/download/download_job_factory.cc View 1 2 3 1 chunk +61 lines, -0 lines 0 comments Download
M content/browser/download/download_stats.h View 1 2 3 4 2 chunks +37 lines, -0 lines 0 comments Download
M content/browser/download/download_stats.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/download/parallel_download_utils.h View 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/download/parallel_download_utils.cc View 1 chunk +0 lines, -20 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 2 chunks +23 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (17 generated)
xingliu
Hi, PTAL, thanks.
3 years, 8 months ago (2017-04-07 00:40:47 UTC) #3
xingliu
3 years, 8 months ago (2017-04-07 20:59:09 UTC) #9
qinmin
https://codereview.chromium.org/2806653002/diff/1/content/browser/download/download_stats.h File content/browser/download/download_stats.h (right): https://codereview.chromium.org/2806653002/diff/1/content/browser/download/download_stats.h#newcode252 content/browser/download/download_stats.h:252: void RecordParallelDownloadFailReason(ParallelDownloadFailReason reason); This sounds more like a download ...
3 years, 8 months ago (2017-04-07 21:00:52 UTC) #10
Ilya Sherman
https://codereview.chromium.org/2806653002/diff/1/content/browser/download/download_stats.h File content/browser/download/download_stats.h (right): https://codereview.chromium.org/2806653002/diff/1/content/browser/download/download_stats.h#newcode150 content/browser/download/download_stats.h:150: enum ParallelDownloadFailReason { nit: Could this be an enum ...
3 years, 8 months ago (2017-04-07 22:13:09 UTC) #11
xingliu
Thanks for the feedback. PTAL. https://codereview.chromium.org/2806653002/diff/1/content/browser/download/download_stats.h File content/browser/download/download_stats.h (right): https://codereview.chromium.org/2806653002/diff/1/content/browser/download/download_stats.h#newcode150 content/browser/download/download_stats.h:150: enum ParallelDownloadFailReason { On ...
3 years, 8 months ago (2017-04-08 01:13:28 UTC) #14
Ilya Sherman
Metrics LGTM % nits: https://codereview.chromium.org/2806653002/diff/40001/content/browser/download/download_stats.h File content/browser/download/download_stats.h (right): https://codereview.chromium.org/2806653002/diff/40001/content/browser/download/download_stats.h#newcode152 content/browser/download/download_stats.h:152: enum class ParallelDownloadCreationEvent { nit: ...
3 years, 8 months ago (2017-04-08 01:22:47 UTC) #15
xingliu
Thanks for the feedback. https://codereview.chromium.org/2806653002/diff/40001/content/browser/download/download_stats.h File content/browser/download/download_stats.h (right): https://codereview.chromium.org/2806653002/diff/40001/content/browser/download/download_stats.h#newcode152 content/browser/download/download_stats.h:152: enum class ParallelDownloadCreationEvent { On ...
3 years, 8 months ago (2017-04-10 18:56:30 UTC) #20
David Trainor- moved to gerrit
lgtm
3 years, 8 months ago (2017-04-10 20:15:48 UTC) #21
Ilya Sherman
https://codereview.chromium.org/2806653002/diff/60001/content/browser/download/download_stats.h File content/browser/download/download_stats.h (right): https://codereview.chromium.org/2806653002/diff/60001/content/browser/download/download_stats.h#newcode152 content/browser/download/download_stats.h:152: // Used in histogram "Download.ParallelDownload.CreationEvent". nit: Please also document ...
3 years, 8 months ago (2017-04-10 21:54:15 UTC) #22
Ilya Sherman
(Still LGTM % that nit.)
3 years, 8 months ago (2017-04-10 21:54:36 UTC) #23
xingliu
https://codereview.chromium.org/2806653002/diff/60001/content/browser/download/download_stats.h File content/browser/download/download_stats.h (right): https://codereview.chromium.org/2806653002/diff/60001/content/browser/download/download_stats.h#newcode152 content/browser/download/download_stats.h:152: // Used in histogram "Download.ParallelDownload.CreationEvent". On 2017/04/10 21:54:15, Ilya ...
3 years, 8 months ago (2017-04-10 22:07:12 UTC) #24
qinmin
lgtm
3 years, 8 months ago (2017-04-10 22:38:23 UTC) #25
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/2806653002/80001
3 years, 8 months ago (2017-04-10 22:40:24 UTC) #28
commit-bot: I haz the power
3 years, 8 months ago (2017-04-10 23:53:35 UTC) #31
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/c97ad191cb505a2e58a726a0aa54...

Powered by Google App Engine
This is Rietveld 408576698