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

Unified Diff: net/http/http_stream_factory.h

Issue 9766021: SPDY - Added enabling of SPDY/3 to about:flags. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 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);

Powered by Google App Engine
This is Rietveld 408576698