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

Unified Diff: net/socket/ssl_client_socket.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.h
===================================================================
--- net/socket/ssl_client_socket.h (revision 112817)
+++ net/socket/ssl_client_socket.h (working copy)
@@ -121,10 +121,16 @@
// kNextProtoNegotiated: *proto is set to the negotiated protocol.
// kNextProtoNoOverlap: *proto is set to the first protocol in the
// supported list.
- virtual NextProtoStatus GetNextProto(std::string* proto) = 0;
+ virtual NextProtoStatus GetNextProto(std::string* proto,
+ std::string* server_proto) = 0;
agl 2011/12/05 16:38:10 s
ramant (doing other things) 2011/12/05 19:03:28 Done.
static NextProto NextProtoFromString(const std::string& proto_string);
+ static const char* NextProtoStatusToString(
+ const SSLClientSocket::NextProtoStatus status);
+
+ static std::string ServerProtoToString(const std::string& server_proto);
agl 2011/12/05 16:38:10 Protos, server_protos
ramant (doing other things) 2011/12/05 19:03:28 Done.
+
static bool IgnoreCertError(int error, int load_flags);
virtual bool was_npn_negotiated() const;

Powered by Google App Engine
This is Rietveld 408576698