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

Unified Diff: public/web/WebURLLoaderOptions.h

Issue 531553002: Remove dead content sniffing code (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/AssociatedURLLoader.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebURLLoaderOptions.h
diff --git a/public/web/WebURLLoaderOptions.h b/public/web/WebURLLoaderOptions.h
index a0c135df17ef4f2d56ddfe4da096bd64239256a7..6d4020abb67f2c3e8e07dd934fc149833f8bbf59 100644
--- a/public/web/WebURLLoaderOptions.h
+++ b/public/web/WebURLLoaderOptions.h
@@ -49,7 +49,6 @@ struct WebURLLoaderOptions {
WebURLLoaderOptions()
: untrustedHTTP(false)
- , sniffContent(false)
, allowCredentials(false)
, exposeAllResponseHeaders(false)
, preflightPolicy(ConsiderPreflight)
@@ -57,7 +56,6 @@ struct WebURLLoaderOptions {
{ }
bool untrustedHTTP; // Whether to validate the method and headers as if this was an XMLHttpRequest.
- bool sniffContent; // Whether to sniff content.
bool allowCredentials; // Whether to send HTTP credentials and cookies with the request.
bool exposeAllResponseHeaders; // If policy is to use access control, whether to expose non-whitelisted response headers to the client.
PreflightPolicy preflightPolicy;
« no previous file with comments | « Source/web/AssociatedURLLoader.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698