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

Issue 11478034: Add UMA for measuring Content-Dispostion header use and abuse. (Closed)

Created:
8 years ago by asanka
Modified:
8 years ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Add UMA for measuring Content-Dispostion header use and abuse. BUG=162815 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=173403

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : Only measure valid C-D headers #

Total comments: 9

Patch Set 4 : Address comments #

Patch Set 5 : Suppress accidental trigraph #

Unified diffs Side-by-side diffs Delta from patch set Stats (+258 lines, -20 lines) Patch
M content/browser/download/download_resource_handler.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/download/download_stats.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/download/download_stats.cc View 1 2 3 3 chunks +96 lines, -0 lines 0 comments Download
M net/http/http_content_disposition.h View 1 2 3 3 chunks +35 lines, -0 lines 0 comments Download
M net/http/http_content_disposition.cc View 1 2 3 11 chunks +48 lines, -20 lines 0 comments Download
M net/http/http_content_disposition_unittest.cc View 1 2 3 4 1 chunk +75 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
asanka
Could you take a look? rdsmith: downloads and UMA. Specifically whether this is counting correctly. ...
8 years ago (2012-12-12 00:11:01 UTC) #1
Randy Smith (Not in Mondays)
content/browser/download/* LGTM with the one nit below. I agree with you that this'll only get ...
8 years ago (2012-12-12 16:10:35 UTC) #2
asanka
rdsmith: Thanks! The statistics will be a bit more than what we need for the ...
8 years ago (2012-12-14 01:28:01 UTC) #3
rvargas (doing something else)
https://codereview.chromium.org/11478034/diff/10002/content/browser/download/download_stats.cc File content/browser/download/download_stats.cc (right): https://codereview.chromium.org/11478034/diff/10002/content/browser/download/download_stats.cc#newcode297 content/browser/download/download_stats.cc:297: void RecordDownloadContentDisposition( Isn't it better to generate the histograms ...
8 years ago (2012-12-14 22:49:54 UTC) #4
asanka
Thanks! https://codereview.chromium.org/11478034/diff/10002/content/browser/download/download_stats.cc File content/browser/download/download_stats.cc (right): https://codereview.chromium.org/11478034/diff/10002/content/browser/download/download_stats.cc#newcode297 content/browser/download/download_stats.cc:297: void RecordDownloadContentDisposition( On 2012/12/14 22:49:54, rvargas wrote: > ...
8 years ago (2012-12-15 01:57:32 UTC) #5
rvargas (doing something else)
lgtm https://codereview.chromium.org/11478034/diff/10002/content/browser/download/download_stats.cc File content/browser/download/download_stats.cc (right): https://codereview.chromium.org/11478034/diff/10002/content/browser/download/download_stats.cc#newcode297 content/browser/download/download_stats.cc:297: void RecordDownloadContentDisposition( On 2012/12/15 01:57:32, asanka wrote: > ...
8 years ago (2012-12-15 02:46:57 UTC) #6
asanka
Thanks! https://codereview.chromium.org/11478034/diff/10002/content/browser/download/download_stats.cc File content/browser/download/download_stats.cc (right): https://codereview.chromium.org/11478034/diff/10002/content/browser/download/download_stats.cc#newcode297 content/browser/download/download_stats.cc:297: void RecordDownloadContentDisposition( On 2012/12/15 02:46:57, rvargas wrote: > ...
8 years ago (2012-12-16 18:32:04 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asanka@chromium.org/11478034/23001
8 years ago (2012-12-16 22:01:59 UTC) #8
commit-bot: I haz the power
8 years ago (2012-12-17 00:16:55 UTC) #9
Message was sent while issue was closed.
Change committed as 173403

Powered by Google App Engine
This is Rietveld 408576698