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

Issue 18214: Collect some metrics on nosniff. There is some concern that respecting this ... (Closed)

Created:
11 years, 11 months ago by abarth-chromium
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Collect some metrics on nosniff. There is some concern that respecting this header causes more harm than good. R=darin Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=8257

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -2 lines) Patch
M base/histogram.h View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/buffered_resource_handler.cc View 1 2 3 2 chunks +31 lines, -2 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
abarth-chromium
11 years, 11 months ago (2009-01-14 02:01:32 UTC) #1
darin (slow to review)
11 years, 11 months ago (2009-01-15 07:28:38 UTC) #2
LGTM

http://codereview.chromium.org/18214/diff/6/7
File base/histogram.h (right):

http://codereview.chromium.org/18214/diff/6/7#newcode383
Line 383: DISALLOW_EVIL_CONSTRUCTORS(BooleanHistogram);
the new hotness is DISALLOW_COPY_AND_ASSIGN, but consistency with the rest of
the file is probably better :-/

http://codereview.chromium.org/18214/diff/6/8
File chrome/browser/renderer_host/buffered_resource_handler.cc (right):

http://codereview.chromium.org/18214/diff/6/8#newcode27
Line 27: if (sniffing_blocked) {
perhaps this can be combined with the code block above since the conditions are
the same?  or did you mean for the conditions to be different?

Powered by Google App Engine
This is Rietveld 408576698