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

Unified Diff: chrome/browser/io_thread.cc

Issue 2115213002: Disable SPDY/3.1. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase on https://crrev.com/2129973002. Created 4 years, 5 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
Index: chrome/browser/io_thread.cc
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
index 2573e9766d80fec3751ef2b24649f6b29e0099d4..9606d74016a4a69d5ffa0b3bf7db6b0615c0d4f2 100644
--- a/chrome/browser/io_thread.cc
+++ b/chrome/browser/io_thread.cc
@@ -311,7 +311,6 @@ IOThread::IOThread(
extension_event_router_forwarder_(extension_event_router_forwarder),
#endif
globals_(NULL),
- is_spdy_allowed_by_policy_(true),
is_quic_allowed_by_policy_(true),
creation_time_(base::TimeTicks::Now()),
weak_factory_(this) {
@@ -381,12 +380,6 @@ IOThread::IOThread(
local_state);
pac_https_url_stripping_enabled_.MoveToThread(io_thread_proxy);
- is_spdy_allowed_by_policy_ =
- policy_service
- ->GetPolicies(policy::PolicyNamespace(policy::POLICY_DOMAIN_CHROME,
- std::string()))
- .Get(policy::key::kDisableSpdy) == nullptr;
-
const base::Value* value = policy_service->GetPolicies(
policy::PolicyNamespace(policy::POLICY_DOMAIN_CHROME,
std::string())).GetValue(policy::key::kQuicAllowed);
@@ -635,8 +628,7 @@ void IOThread::Init() {
quic_user_agent_id.push_back(' ');
quic_user_agent_id.append(content::BuildOSCpuInfo());
network_session_configurator::ParseFieldTrialsAndCommandLine(
- is_spdy_allowed_by_policy_, is_quic_allowed_by_policy_,
- quic_user_agent_id, &params_);
+ is_quic_allowed_by_policy_, quic_user_agent_id, &params_);
bool always_enable_tfo_if_supported =
command_line.HasSwitch(switches::kEnableTcpFastOpen);
« no previous file with comments | « chrome/browser/io_thread.h ('k') | components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698