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

Unified Diff: chrome/browser/chrome_benchmarking_message_filter.cc

Issue 11416205: Move EnableSpdy from HttpNetworkLayer to IOThread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 1 month 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.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_benchmarking_message_filter.cc
diff --git a/chrome/browser/chrome_benchmarking_message_filter.cc b/chrome/browser/chrome_benchmarking_message_filter.cc
index 4e7c5f5ecfa3e64d7eddcbd0a44fc963c64061fb..5be4df1abc3d10747f780f65037c2453eba58e6b 100644
--- a/chrome/browser/chrome_benchmarking_message_filter.cc
+++ b/chrome/browser/chrome_benchmarking_message_filter.cc
@@ -113,7 +113,7 @@ void ChromeBenchmarkingMessageFilter::OnEnableSpdy(bool enable) {
}
if (enable) {
net::HttpStreamFactory::EnableNpnSpdy();
- net::HttpNetworkLayer::EnableSpdy("force-alt-protocols");
+ net::HttpNetworkLayer::ForceAlternateProtocol();
} else {
net::HttpStreamFactory::EnableNpnHttpOnly();
}
@@ -167,4 +167,3 @@ bool ChromeBenchmarkingMessageFilter::CheckBenchmarkingEnabled() const {
}
return result;
}
-
« no previous file with comments | « no previous file | chrome/browser/io_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698