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

Unified Diff: net/socket/ssl_client_socket.h

Issue 2348453002: Remove NPN from SSLConfig and SSLClientSocket*. (Closed)
Patch Set: Re: #7. Created 4 years, 3 months 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/log/net_log_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
diff --git a/net/socket/ssl_client_socket.h b/net/socket/ssl_client_socket.h
index 4bf6a0846a26025e8af7c94963b8e5f2dd59910c..ba8142a62b4fd40f19cd9b2e751cf8c424640df0 100644
--- a/net/socket/ssl_client_socket.h
+++ b/net/socket/ssl_client_socket.h
@@ -76,25 +76,6 @@ class NET_EXPORT SSLClientSocket : public SSLSocket {
public:
SSLClientSocket();
- // Next Protocol Negotiation (NPN) allows a TLS client and server to come to
- // an agreement about the application level protocol to speak over a
- // connection.
- enum NextProtoStatus {
- // WARNING: These values are serialized to disk. Don't change them.
-
- kNextProtoUnsupported = 0, // The server doesn't support NPN.
- kNextProtoNegotiated = 1, // We agreed on a protocol.
- kNextProtoNoOverlap = 2, // No protocols in common. We requested
- // the first protocol in our list.
- };
-
- // TLS extension used to negotiate protocol.
- enum SSLNegotiationExtension {
- kExtensionUnknown,
- kExtensionALPN,
- kExtensionNPN,
- };
-
// Gets the SSL CertificateRequest info of the socket after Connect failed
// with ERR_SSL_CLIENT_AUTH_CERT_NEEDED.
virtual void GetSSLCertRequestInfo(
@@ -104,8 +85,6 @@ class NET_EXPORT SSLClientSocket : public SSLSocket {
static const char* NextProtoToString(NextProto next_proto);
- static const char* NextProtoStatusToString(const NextProtoStatus status);
-
// Log SSL key material to |path| on |task_runner|. Must be called before any
// SSLClientSockets are created.
//
« no previous file with comments | « net/log/net_log_util.cc ('k') | net/socket/ssl_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698