diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-12 19:46:27 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-12 19:46:27 +0000 |
commit | 8d3718970504d75dea10ba8a523f5d2219627071 (patch) | |
tree | 5c148f80c5fe5cc768c79c52f292a72707041a37 /net/socket/ssl_client_socket_nss.h | |
parent | 37779e0d685e3e8cf948ebae2bb7dc9c04aa876f (diff) | |
download | chromium_src-8d3718970504d75dea10ba8a523f5d2219627071.zip chromium_src-8d3718970504d75dea10ba8a523f5d2219627071.tar.gz chromium_src-8d3718970504d75dea10ba8a523f5d2219627071.tar.bz2 |
Revert r61181.
This reverts r61181 although, due to the age of that revision, the revert was
mostly done manually. This is the start of ripping out Snap Start support.
BUG=none
TEST=none
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81288 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/ssl_client_socket_nss.h')
-rw-r--r-- | net/socket/ssl_client_socket_nss.h | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/net/socket/ssl_client_socket_nss.h b/net/socket/ssl_client_socket_nss.h index 35941ff..88f1f79 100644 --- a/net/socket/ssl_client_socket_nss.h +++ b/net/socket/ssl_client_socket_nss.h @@ -85,8 +85,6 @@ class SSLClientSocketNSS : public SSLClientSocket { private: enum State { STATE_NONE, - STATE_SNAP_START_LOAD_INFO, - STATE_SNAP_START_WAIT_FOR_WRITE, STATE_HANDSHAKE, STATE_VERIFY_DNSSEC, STATE_VERIFY_DNSSEC_COMPLETE, @@ -119,8 +117,6 @@ class SSLClientSocketNSS : public SSLClientSocket { int DoReadLoop(int result); int DoWriteLoop(int result); - int DoSnapStartLoadInfo(); - int DoSnapStartWaitForWrite(); int DoHandshake(); int DoVerifyDNSSEC(int result); @@ -130,9 +126,7 @@ class SSLClientSocketNSS : public SSLClientSocket { int DoPayloadRead(); int DoPayloadWrite(); void LogConnectionTypeMetrics() const; - void SaveSnapStartInfo(); - bool LoadSnapStartInfo(); - bool IsNPNProtocolMispredicted(); + void SaveSSLHostInfo(); void UncorkAfterTimeout(); bool DoTransportIO(); @@ -227,10 +221,6 @@ class SSLClientSocketNSS : public SSLClientSocket { // True if the SSL handshake has been completed. bool completed_handshake_; - // True if we are lying about being connected in order to merge the first - // Write call into a Snap Start handshake. - bool pseudo_connected_; - // True iff we believe that the user has an ESET product intercepting our // HTTPS connections. bool eset_mitm_detected_; @@ -257,14 +247,6 @@ class SSLClientSocketNSS : public SSLClientSocket { BoundNetLog net_log_; - // When performing Snap Start we need to predict the NPN protocol which the - // server is going to speak before we actually perform the handshake. Thus - // the last NPN protocol used is serialised in |ssl_host_info_| - // and kept in these fields: - SSLClientSocket::NextProtoStatus predicted_npn_status_; - std::string predicted_npn_proto_; - bool predicted_npn_proto_used_; - base::TimeTicks start_cert_verification_time_; scoped_ptr<SSLHostInfo> ssl_host_info_; |