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

Unified Diff: chrome/browser/io_thread.h

Issue 2253653002: Only allow HTTP/0.9 support on default ports. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Response to comments Created 4 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 | « no previous file | chrome/browser/io_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/io_thread.h
diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h
index 574151adfcdd7540309115d9dffaf8ad37239216..409049820c9e72db5b25fc5ec579299fb4ddf320 100644
--- a/chrome/browser/io_thread.h
+++ b/chrome/browser/io_thread.h
@@ -305,6 +305,7 @@ class IOThread : public content::BrowserThreadDelegate {
static void ConfigureParamsFromFieldTrialsAndCommandLine(
const base::CommandLine& command_line,
bool is_quic_allowed_by_policy,
+ bool http_09_on_non_default_ports_enabled,
net::HttpNetworkSession::Params* params);
// TODO(willchan): Remove proxy script fetcher context since it's not
@@ -386,6 +387,9 @@ class IOThread : public content::BrowserThreadDelegate {
// True if QUIC is allowed by policy.
bool is_quic_allowed_by_policy_;
+ // True if HTTP/0.9 is allowed on non-default ports by policy.
+ bool http_09_on_non_default_ports_enabled_;
+
const base::TimeTicks creation_time_;
// Callback for updating data use prefs which needs to be initialized on UI
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698