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

Unified Diff: net/socket/ssl_client_socket_nss.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_nss.h
===================================================================
--- net/socket/ssl_client_socket_nss.h (revision 112817)
+++ net/socket/ssl_client_socket_nss.h (working copy)
@@ -67,7 +67,8 @@
const base::StringPiece& context,
unsigned char *out,
unsigned int outlen) OVERRIDE;
- virtual NextProtoStatus GetNextProto(std::string* proto) OVERRIDE;
+ virtual NextProtoStatus GetNextProto(std::string* proto,
+ std::string* server_protos) OVERRIDE;
// StreamSocket methods:
virtual int Connect(OldCompletionCallback* callback) OVERRIDE;
@@ -300,6 +301,8 @@
// next_proto_ is the protocol that we selected by NPN.
std::string next_proto_;
NextProtoStatus next_proto_status_;
+ // Server's NPN advertised protocols.
+ std::string server_protos_;
// The following two variables are added for debugging bug 65948. Will
// remove this code after fixing bug 65948.

Powered by Google App Engine
This is Rietveld 408576698