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

Issue 9316116: Isolate initiation counts for downloads to their own histograms and improve (Closed)

Created:
8 years, 10 months ago by Randy Smith (Not in Mondays)
Modified:
8 years, 10 months ago
CC:
chromium-reviews, Avi (use Gerrit), creis+watch_chromium.org, nkostylev+watch_chromium.org, tbarzic+watch_chromium.org, jam, ajwong+watch_chromium.org, achuith+watch_chromium.org, mihaip+watch_chromium.org, dcheng, joi+watch-content_chromium.org, Aaron Boodman, darin-cc_chromium.org, rdsmith+dwatch_chromium.org, brettw-cc_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Isolate initiation counts for downloads to their own histograms and improve naming. BUG=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=122159

Patch Set 1 #

Total comments: 10

Patch Set 2 : Incorporated Chris' comments. #

Patch Set 3 : Shift recording of UMA to before initiation in all cases. #

Total comments: 3

Patch Set 4 : Incorporated Chris' comments. #

Patch Set 5 : Merged to TOT. #

Total comments: 2

Patch Set 6 : Fix compilation errors and incorporate comments. #

Patch Set 7 : Sync'd to TOT. #

Patch Set 8 : Added enum for plugin installer. #

Patch Set 9 : Fixed problem in pluging installer UMA navigation UMA to always happen at time of callback. #

Patch Set 10 : Restored curlies to original. #

Total comments: 2

Patch Set 11 : Incorporated Darin's comments. #

Patch Set 12 : Bumped up maximum value in chrome counts histogram and added explanatory comment. #

Patch Set 13 : Merged to LKGR. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -46 lines) Patch
M chrome/browser/chromeos/imageburner/burn_manager.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/download/download_resource_throttle.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/download/download_util.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +33 lines, -5 lines 0 comments Download
M chrome/browser/download/download_util.cc View 1 2 3 4 5 1 chunk +6 lines, -1 line 0 comments Download
M chrome/browser/extensions/webstore_installer.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/plugin_installer.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/render_view_context_menu.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +5 lines, -5 lines 0 comments Download
M content/browser/download/download_stats.h View 1 2 3 4 5 2 chunks +36 lines, -25 lines 0 comments Download
M content/browser/download/download_stats.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/download/drag_download_file.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_message_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +1 line, -2 lines 0 comments Download
M content/browser/tab_contents/tab_contents.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
Randy Smith (Not in Mondays)
Chris, could you take a look at this? This came out of a larger discussion ...
8 years, 10 months ago (2012-02-04 15:20:37 UTC) #1
cbentzel
high-level question: Should the "source" of a download be passed into DownloadResourceHandler + Item, so ...
8 years, 10 months ago (2012-02-04 16:19:02 UTC) #2
Randy Smith (Not in Mondays)
On 2012/02/04 16:19:02, cbentzel wrote: > high-level question: Should the "source" of a download be ...
8 years, 10 months ago (2012-02-04 16:41:43 UTC) #3
cbentzel
This generally looks fine - I'd like to get this data, and my complaints are ...
8 years, 10 months ago (2012-02-06 19:57:29 UTC) #4
Randy Smith (Not in Mondays)
On 2012/02/06 19:57:29, cbentzel wrote: > This generally looks fine - I'd like to get ...
8 years, 10 months ago (2012-02-06 20:13:22 UTC) #5
cbentzel
On Mon, Feb 6, 2012 at 3:13 PM, <rdsmith@chromium.org> wrote: > On 2012/02/06 19:57:29, cbentzel ...
8 years, 10 months ago (2012-02-06 20:15:07 UTC) #6
Randy Smith (Not in Mondays)
Jim: I'll be asking you to review the histograms.xml version of this change, so I ...
8 years, 10 months ago (2012-02-07 18:20:17 UTC) #7
Randy Smith (Not in Mondays)
(Sorry; quick followup patch set to regularize the relationship of recording to initiation at all ...
8 years, 10 months ago (2012-02-07 18:23:44 UTC) #8
cbentzel
http://codereview.chromium.org/9316116/diff/1/content/browser/tab_contents/tab_contents.cc File content/browser/tab_contents/tab_contents.cc (right): http://codereview.chromium.org/9316116/diff/1/content/browser/tab_contents/tab_contents.cc#newcode1429 content/browser/tab_contents/tab_contents.cc:1429: download_stats::INITIATED_BY_RENDERER_SAVE); On 2012/02/07 18:20:18, rdsmith wrote: > On 2012/02/06 ...
8 years, 10 months ago (2012-02-07 18:29:32 UTC) #9
jar (doing other things)
FWIW: The histogram changes look fine... though I didn't look into the logic driving the ...
8 years, 10 months ago (2012-02-07 19:18:50 UTC) #10
Randy Smith (Not in Mondays)
Comments incorporated. Gonna merge up to TOT next; there's a nasty CL (for these purposes) ...
8 years, 10 months ago (2012-02-07 19:28:13 UTC) #11
Randy Smith (Not in Mondays)
Merge to TOT done. Chris, PTAL.
8 years, 10 months ago (2012-02-07 20:24:21 UTC) #12
cbentzel
LGTM https://chromiumcodereview.appspot.com/9316116/diff/11019/chrome/browser/download/download_util.h File chrome/browser/download/download_util.h (right): https://chromiumcodereview.appspot.com/9316116/diff/11019/chrome/browser/download/download_util.h#newcode186 chrome/browser/download/download_util.h:186: enum ChromeDownloadInitiationSources { Nit: why not ChromeDownloadSources? Or ...
8 years, 10 months ago (2012-02-07 20:27:33 UTC) #13
Randy Smith (Not in Mondays)
https://chromiumcodereview.appspot.com/9316116/diff/11019/chrome/browser/download/download_util.h File chrome/browser/download/download_util.h (right): https://chromiumcodereview.appspot.com/9316116/diff/11019/chrome/browser/download/download_util.h#newcode186 chrome/browser/download/download_util.h:186: enum ChromeDownloadInitiationSources { On 2012/02/07 20:27:33, cbentzel wrote: > ...
8 years, 10 months ago (2012-02-09 21:48:01 UTC) #14
Randy Smith (Not in Mondays)
Darin: Can you take a look at download_resource_throttle.cc? It's a simple change, but I had ...
8 years, 10 months ago (2012-02-10 19:56:08 UTC) #15
darin (slow to review)
https://chromiumcodereview.appspot.com/9316116/diff/34005/chrome/browser/download/download_resource_throttle.cc File chrome/browser/download/download_resource_throttle.cc (right): https://chromiumcodereview.appspot.com/9316116/diff/34005/chrome/browser/download/download_resource_throttle.cc#newcode45 chrome/browser/download/download_resource_throttle.cc:45: download_util::RecordDownloadSource( nit: indentation You are counting on the fact ...
8 years, 10 months ago (2012-02-10 23:47:27 UTC) #16
Randy Smith (Not in Mondays)
On 2012/02/10 23:47:27, darin wrote: > https://chromiumcodereview.appspot.com/9316116/diff/34005/chrome/browser/download/download_resource_throttle.cc > File chrome/browser/download/download_resource_throttle.cc (right): > > https://chromiumcodereview.appspot.com/9316116/diff/34005/chrome/browser/download/download_resource_throttle.cc#newcode45 > ...
8 years, 10 months ago (2012-02-12 19:17:41 UTC) #17
Randy Smith (Not in Mondays)
PTAL. http://codereview.chromium.org/9316116/diff/34005/chrome/browser/download/download_resource_throttle.cc File chrome/browser/download/download_resource_throttle.cc (right): http://codereview.chromium.org/9316116/diff/34005/chrome/browser/download/download_resource_throttle.cc#newcode45 chrome/browser/download/download_resource_throttle.cc:45: download_util::RecordDownloadSource( On 2012/02/10 23:47:28, darin wrote: > nit: ...
8 years, 10 months ago (2012-02-12 19:19:00 UTC) #18
Randy Smith (Not in Mondays)
Jim: I put in the hack we talked about; could you re-review? This link has ...
8 years, 10 months ago (2012-02-14 19:41:14 UTC) #19
jar (doing other things)
The comment and adjustment to the histogram enum LGTM.
8 years, 10 months ago (2012-02-14 19:46:42 UTC) #20
darin (slow to review)
LGTM for download_resource_throttle.cc changes.
8 years, 10 months ago (2012-02-14 19:48:06 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdsmith@chromium.org/9316116/37001
8 years, 10 months ago (2012-02-15 19:00:46 UTC) #22
commit-bot: I haz the power
8 years, 10 months ago (2012-02-15 21:56:50 UTC) #23
Change committed as 122159

Powered by Google App Engine
This is Rietveld 408576698