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

Unified Diff: net/http/http_stream_factory.h

Issue 9516009: SPDY - disable spdy/2.1 (flow control) by default (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 10 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
Index: net/http/http_stream_factory.h
===================================================================
--- net/http/http_stream_factory.h (revision 124201)
+++ net/http/http_stream_factory.h (working copy)
@@ -15,6 +15,7 @@
#include "net/base/completion_callback.h"
#include "net/base/load_states.h"
#include "net/base/net_export.h"
+#include "net/http/http_server_properties.h"
#include "net/socket/ssl_client_socket.h"
class GURL;
@@ -266,6 +267,13 @@
}
static uint16 testing_fixed_https_port() { return testing_fixed_https_port_; }
+ static void set_supported_spdy_version(AlternateProtocol protocol) {
+ supported_spdy_version_ = protocol;
+ }
+ static AlternateProtocol supported_spdy_version() {
+ return supported_spdy_version_;
+ }
+
protected:
HttpStreamFactory();
@@ -283,6 +291,7 @@
static bool http_pipelining_enabled_;
static uint16 testing_fixed_http_port_;
static uint16 testing_fixed_https_port_;
+ static AlternateProtocol supported_spdy_version_;
DISALLOW_COPY_AND_ASSIGN(HttpStreamFactory);
};

Powered by Google App Engine
This is Rietveld 408576698