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

Unified Diff: chrome/browser/io_thread.h

Issue 2299703003: Re-land: Only allow HTTP/0.9 support on default ports. (Closed)
Patch Set: Fix test 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 6bf09ef6f50a8a99151cdc89094d0d44e11b8925..62fbb9f8e3e083c702462efa2d060d2588b74bfc 100644
--- a/chrome/browser/io_thread.h
+++ b/chrome/browser/io_thread.h
@@ -307,6 +307,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
@@ -388,6 +389,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