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

Unified Diff: net/socket/ssl_client_socket.h

Issue 8892026: SPDY - add support for spdy/2.1 to support flow control. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years 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
« no previous file with comments | « net/socket/socket_test_util.cc ('k') | net/socket/ssl_client_socket.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_client_socket.h
===================================================================
--- net/socket/ssl_client_socket.h (revision 113884)
+++ net/socket/ssl_client_socket.h (working copy)
@@ -83,6 +83,7 @@
kProtoHTTP11 = 1,
kProtoSPDY1 = 2,
kProtoSPDY2 = 3,
+ kProtoSPDY21 = 4,
};
// Gets the SSL connection information of the socket.
@@ -126,6 +127,11 @@
virtual bool set_was_spdy_negotiated(bool negotiated);
+ virtual SSLClientSocket::NextProto next_protocol_negotiated() const;
+
+ virtual void set_next_protocol_negotiated(
+ SSLClientSocket::NextProto next_protocol);
+
// Returns true if an origin bound certificate was sent on this connection.
// This may be useful for protocols, like SPDY, which allow the same
// connection to be shared between multiple origins, each of which need
@@ -139,6 +145,8 @@
bool was_npn_negotiated_;
// True if NPN successfully negotiated SPDY.
bool was_spdy_negotiated_;
+ // Protocol that we negotiated with the server.
+ SSLClientSocket::NextProto next_protocol_;
// True if an origin bound certificate was sent.
bool was_origin_bound_cert_sent_;
};
« no previous file with comments | « net/socket/socket_test_util.cc ('k') | net/socket/ssl_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698