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

Unified Diff: chrome/browser/io_thread.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/chrome_benchmarking_message_filter.cc ('k') | 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 04c4340ce383cc82a0c1a7c40c74da6dbeb34b97..de61126a3955a407e8353be7a420a82da74d5f5a 100644
--- a/chrome/browser/io_thread.h
+++ b/chrome/browser/io_thread.h
@@ -170,6 +170,23 @@ class IOThread : public content::BrowserThreadDelegate {
void InitializeNetworkOptions(const CommandLine& parsed_command_line);
+ // Enable the SPDY protocol. If this function is not called, SPDY/3
+ // will be enabled.
+ // "off" : Disables SPDY support entirely.
+ // "ssl" : Forces SPDY for all HTTPS requests.
+ // "no-ssl" : Forces SPDY for all HTTP requests.
+ // "no-ping" : Disables SPDY ping connection testing.
+ // "exclude=<host>" : Disables SPDY support for the host <host>.
+ // "no-compress" : Disables SPDY header compression.
+ // "no-alt-protocols : Disables alternate protocol support.
+ // "force-alt-protocols : Forces an alternate protocol of SPDY/2
+ // on port 443.
+ // "single-domain" : Forces all spdy traffic to a single domain.
+ // "init-max-streams=<limit>" : Specifies the maximum number of concurrent
+ // streams for a SPDY session, unless the
+ // specifies a different value via SETTINGS.
+ void EnableSpdy(const std::string& mode);
+
// Global state must be initialized on the IO thread, then this
// method must be invoked on the UI thread.
void InitSystemRequestContext();
« no previous file with comments | « chrome/browser/chrome_benchmarking_message_filter.cc ('k') | chrome/browser/io_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698