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); |
}; |