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