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

Unified Diff: chrome/browser/net/net_pref_observer.cc

Issue 10911198: SPDY - disable SPDY based on command line and policy (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/net_pref_observer.cc
===================================================================
--- chrome/browser/net/net_pref_observer.cc (revision 156023)
+++ chrome/browser/net/net_pref_observer.cc (working copy)
@@ -47,7 +47,8 @@
predictor_->EnablePredictor(*network_prediction_enabled_);
if (prerender_manager_)
prerender_manager_->set_enabled(*network_prediction_enabled_);
- net::HttpStreamFactory::set_spdy_enabled(!*spdy_disabled_);
+ if (spdy_disabled_.IsManaged())
+ net::HttpStreamFactory::set_spdy_enabled(!*spdy_disabled_);
}
// static
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698