Index: net/http/http_stream_factory.h |
=================================================================== |
--- net/http/http_stream_factory.h (revision 128228) |
+++ net/http/http_stream_factory.h (working copy) |
@@ -230,6 +230,16 @@ |
// Check if a HostPortPair is excluded from using spdy. |
static bool HasSpdyExclusion(const HostPortPair& endpoint); |
+ // Sets http/1.1, spdy/2, spdy/2.1 and spdy/3 as the protocols supported. |
+ static void EnableSPDY3(); |
+ |
+ // Sets http/1.1, spdy/2 and spdy/2.1 as the protocols supported. |
+ // If flow-control is enabled, received WINDOW_UPDATE and SETTINGS messages |
+ // are processed and outstanding window size is actually obeyed when sending |
+ // data frames, and WINDOW_UPDATE messages are generated when data is |
+ // consumed. |
+ static void EnableFlowControl(); |
+ |
// Sets the protocols supported by NPN (next protocol negotiation) during the |
// SSL handshake as well as by HTTP Alternate-Protocol. |
static void SetNextProtos(const std::vector<std::string>& value); |