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

Unified Diff: net/socket/ssl_client_socket.cc

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/ssl_client_socket.h ('k') | net/socket/ssl_client_socket_pool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_client_socket.cc
===================================================================
--- net/socket/ssl_client_socket.cc (revision 113884)
+++ net/socket/ssl_client_socket.cc (working copy)
@@ -22,6 +22,8 @@
return kProtoSPDY1;
} else if (proto_string == "spdy/2") {
return kProtoSPDY2;
+ } else if (proto_string == "spdy/2.1") {
+ return kProtoSPDY21;
} else {
return kProtoUnknown;
}
@@ -91,6 +93,15 @@
return was_spdy_negotiated_ = negotiated;
}
+SSLClientSocket::NextProto SSLClientSocket::next_protocol_negotiated() const {
+ return next_protocol_;
+}
+
+void SSLClientSocket::set_next_protocol_negotiated(
+ SSLClientSocket::NextProto next_protocol) {
+ next_protocol_ = next_protocol;
+}
+
bool SSLClientSocket::was_origin_bound_cert_sent() const {
return was_origin_bound_cert_sent_;
}
« no previous file with comments | « net/socket/ssl_client_socket.h ('k') | net/socket/ssl_client_socket_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698