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

Issue 1107913003: Remove support for "name" parameter from Content-Disposition. (Closed)

Created:
5 years, 8 months ago by dtapuska
Modified:
5 years, 7 months ago
CC:
asanka, benjhayden+dwatch_chromium.org, cbentzel+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, jam, varkha
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove support for "name" parameter from Content-Disposition. All other UAs don't treat the name value as a synonym. Drop support from Chrome. UMA metrics indicate 0.00% actually only contain the "name" attribute. 0.01% of requests had with a name attribute; but had higher preference values as well. This feature isn't clearly used anymore. BUG=162815 TEST=net_unittests Committed: https://crrev.com/122d485f173d2b4ca7ed36b64e9d4bd57197299f Cr-Commit-Position: refs/heads/master@{#327708}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Adjust histograms.xml comments #

Total comments: 3

Patch Set 3 : Adjust comment for clarity #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -54 lines) Patch
M content/browser/download/download_stats.cc View 1 2 4 chunks +5 lines, -14 lines 0 comments Download
M net/base/filename_util_unittest.cc View 3 chunks +5 lines, -4 lines 0 comments Download
M net/http/http_content_disposition.h View 1 2 2 chunks +8 lines, -9 lines 0 comments Download
M net/http/http_content_disposition.cc View 3 chunks +1 line, -10 lines 0 comments Download
M net/http/http_content_disposition_unittest.cc View 6 chunks +13 lines, -13 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
dtapuska
5 years, 8 months ago (2015-04-27 15:04:01 UTC) #2
asanka
Can you also update histograms.xml as well? The DownloadContentDisposition enum value descriptions should be updated ...
5 years, 7 months ago (2015-04-28 00:33:44 UTC) #3
dtapuska
5 years, 7 months ago (2015-04-28 13:18:02 UTC) #5
dtapuska
On 2015/04/28 00:33:44, asanka wrote: > Can you also update histograms.xml as well? The DownloadContentDisposition ...
5 years, 7 months ago (2015-04-28 13:18:26 UTC) #6
Alexei Svitkine (slow)
https://codereview.chromium.org/1107913003/diff/20001/net/http/http_content_disposition.h File net/http/http_content_disposition.h (right): https://codereview.chromium.org/1107913003/diff/20001/net/http/http_content_disposition.h#newcode22 net/http/http_content_disposition.h:22: // Properties of the Content-Disposition header. Used for UMA. ...
5 years, 7 months ago (2015-04-28 14:26:56 UTC) #7
dtapuska
https://codereview.chromium.org/1107913003/diff/20001/net/http/http_content_disposition.h File net/http/http_content_disposition.h (right): https://codereview.chromium.org/1107913003/diff/20001/net/http/http_content_disposition.h#newcode22 net/http/http_content_disposition.h:22: // Properties of the Content-Disposition header. Used for UMA. ...
5 years, 7 months ago (2015-04-28 14:29:16 UTC) #8
Alexei Svitkine (slow)
https://codereview.chromium.org/1107913003/diff/20001/net/http/http_content_disposition.h File net/http/http_content_disposition.h (right): https://codereview.chromium.org/1107913003/diff/20001/net/http/http_content_disposition.h#newcode22 net/http/http_content_disposition.h:22: // Properties of the Content-Disposition header. Used for UMA. ...
5 years, 7 months ago (2015-04-28 14:41:19 UTC) #9
dtapuska
On 2015/04/28 14:41:19, Alexei Svitkine wrote: > https://codereview.chromium.org/1107913003/diff/20001/net/http/http_content_disposition.h > File net/http/http_content_disposition.h (right): > > https://codereview.chromium.org/1107913003/diff/20001/net/http/http_content_disposition.h#newcode22 ...
5 years, 7 months ago (2015-04-29 16:22:12 UTC) #10
Alexei Svitkine (slow)
lgtm, sorry for the delay
5 years, 7 months ago (2015-04-29 21:53:24 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1107913003/40001
5 years, 7 months ago (2015-04-30 13:04:10 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 7 months ago (2015-04-30 14:12:16 UTC) #15
commit-bot: I haz the power
5 years, 7 months ago (2015-04-30 14:13:11 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/122d485f173d2b4ca7ed36b64e9d4bd57197299f
Cr-Commit-Position: refs/heads/master@{#327708}

Powered by Google App Engine
This is Rietveld 408576698