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

Unified Diff: net/http/http_network_layer.h

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 | « chrome/browser/io_thread.cc ('k') | net/http/http_network_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_layer.h
diff --git a/net/http/http_network_layer.h b/net/http/http_network_layer.h
index d9eb676b989ba0810547b21e33623f8494019477..52e5ad602235f976842b063196231afdd23dca9b 100644
--- a/net/http/http_network_layer.h
+++ b/net/http/http_network_layer.h
@@ -36,15 +36,9 @@ class NET_EXPORT HttpNetworkLayer
// when network session is shared.
static HttpTransactionFactory* CreateFactory(HttpNetworkSession* session);
- // Enable the spdy protocol.
- // Without calling this function, SPDY is disabled. The mode can be:
- // "" : (default) SSL and compression are enabled, flow
- // control disabled.
- // "no-ssl" : disables SSL.
- // "no-compress" : disables compression.
- // "flow-control": enables flow control.
- // "none" : disables both SSL and compression.
- static void EnableSpdy(const std::string& mode);
+ // Forces an alternate protocol of SPDY/2 on port 443.
+ // TODO(rch): eliminate this method.
+ static void ForceAlternateProtocol();
// HttpTransactionFactory methods:
virtual int CreateTransaction(scoped_ptr<HttpTransaction>* trans,
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | net/http/http_network_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698