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

Unified Diff: net/socket/ssl_client_socket_openssl.h

Issue 8787011: Log server advertised protos and the selected (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
Index: net/socket/ssl_client_socket_openssl.h
===================================================================
--- net/socket/ssl_client_socket_openssl.h (revision 112817)
+++ net/socket/ssl_client_socket_openssl.h (working copy)
@@ -59,7 +59,8 @@
const base::StringPiece& context,
unsigned char *out,
unsigned int outlen);
- virtual NextProtoStatus GetNextProto(std::string* proto);
+ virtual NextProtoStatus GetNextProto(std::string* proto,
+ std::string* server_proto);
// StreamSocket methods:
virtual int Connect(OldCompletionCallback* callback);
@@ -163,6 +164,7 @@
State next_handshake_state_;
NextProtoStatus npn_status_;
std::string npn_proto_;
+ std::string protos_;
BoundNetLog net_log_;
};

Powered by Google App Engine
This is Rietveld 408576698