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

Unified Diff: chrome/browser/io_thread.h

Issue 11415219: Move a number of static variables SPDY to HttpNetworkSession::Params. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix comments Created 8 years 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.h
diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h
index de61126a3955a407e8353be7a420a82da74d5f5a..5e2058c391475eef4b8a09c782b4a3cbb5538c8f 100644
--- a/chrome/browser/io_thread.h
+++ b/chrome/browser/io_thread.h
@@ -17,6 +17,7 @@
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/browser_thread_delegate.h"
#include "net/base/network_change_notifier.h"
+#include "net/socket/next_proto.h"
class ChromeNetLog;
class CommandLine;
@@ -69,6 +70,11 @@ class PolicyService;
// content::BrowserThread.
class IOThread : public content::BrowserThreadDelegate {
public:
+ enum OptionalBoolean {
+ DEFAULT,
+ TRUE,
+ FALSE,
+ };
Nico 2012/12/02 03:54:23 Ugh. Do we have an optional<> template somewhere?
Ryan Hamilton 2012/12/03 23:04:12 Done.
struct Globals {
class SystemRequestContextLeakChecker {
public:
@@ -127,6 +133,15 @@ class IOThread : public content::BrowserThreadDelegate {
bool http_pipelining_enabled;
uint16 testing_fixed_http_port;
uint16 testing_fixed_https_port;
+ int max_spdy_sessions_per_domain;
+ size_t initial_max_spdy_concurrent_streams;
+ size_t max_spdy_concurrent_streams_limit;
+ OptionalBoolean force_spdy_single_domain;
+ OptionalBoolean enable_spdy_ip_pooling;
+ OptionalBoolean enable_spdy_credential_frames;
+ OptionalBoolean enable_spdy_compression;
+ OptionalBoolean enable_spdy_ping_based_connection_checking;
+ net::NextProto spdy_default_protocol;
// NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a
// main frame load fails with a DNS error in order to provide more useful
// information to the renderer so it can show a more specific error page.

Powered by Google App Engine
This is Rietveld 408576698