diff options
Diffstat (limited to 'net/socket/ssl_client_socket.h')
-rw-r--r-- | net/socket/ssl_client_socket.h | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/net/socket/ssl_client_socket.h b/net/socket/ssl_client_socket.h index 14cf163..06ed692 100644 --- a/net/socket/ssl_client_socket.h +++ b/net/socket/ssl_client_socket.h @@ -11,7 +11,6 @@ #include "net/base/completion_callback.h" #include "net/base/load_flags.h" #include "net/base/net_errors.h" -#include "net/base/ssl_client_cert_type.h" #include "net/socket/ssl_socket.h" #include "net/socket/stream_socket.h" @@ -132,17 +131,13 @@ class NET_EXPORT SSLClientSocket : public SSLSocket { // server bound certificates are not supported. virtual ServerBoundCertService* GetServerBoundCertService() const = 0; - // Returns true if a domain bound certificate was sent on this connection. + // Returns true if a channel ID was sent on this connection. // This may be useful for protocols, like SPDY, which allow the same // connection to be shared between multiple domains, each of which need - // a domain bound certificate. - virtual bool WasDomainBoundCertSent() const; + // a channel ID. + virtual bool WasChannelIDSent() const; - // Returns the type of the domain bound cert that was sent, or - // CLIENT_CERT_INVALID_TYPE if none was sent. - virtual SSLClientCertType domain_bound_cert_type() const; - - virtual SSLClientCertType set_domain_bound_cert_type(SSLClientCertType type); + virtual void set_channel_id_sent(bool channel_id_sent); private: // True if NPN was responded to, independent of selecting SPDY or HTTP. @@ -151,9 +146,8 @@ class NET_EXPORT SSLClientSocket : public SSLSocket { bool was_spdy_negotiated_; // Protocol that we negotiated with the server. NextProto protocol_negotiated_; - // Type of the domain bound cert that was sent, or CLIENT_CERT_INVALID_TYPE - // if none was sent. - SSLClientCertType domain_bound_cert_type_; + // True if a channel ID was sent. + bool channel_id_sent_; }; } // namespace net |