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

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,11 @@
}
static uint16 testing_fixed_https_port() { return testing_fixed_https_port_; }
+ static void set_highest_supported_alternate_protocol(
+ AlternateProtocol protocol) {
+ highest_supported_alternate_protocol_ = protocol;
+ }
+
protected:
HttpStreamFactory();
@@ -283,6 +289,7 @@
static bool http_pipelining_enabled_;
static uint16 testing_fixed_http_port_;
static uint16 testing_fixed_https_port_;
+ static AlternateProtocol highest_supported_alternate_protocol_;
DISALLOW_COPY_AND_ASSIGN(HttpStreamFactory);
};

Powered by Google App Engine
This is Rietveld 408576698