summaryrefslogtreecommitdiffstats
path: root/net/socket/ssl_host_info.h
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-13 18:01:49 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-13 18:01:49 +0000
commit3194fecde886beeb3b78a7108fb291852389f182 (patch)
tree9bc3cf905e818a90756becd457657b9bf7f63f9e /net/socket/ssl_host_info.h
parentb6d81261a469240e25b41e7125bb7166ca3d35bb (diff)
downloadchromium_src-3194fecde886beeb3b78a7108fb291852389f182.zip
chromium_src-3194fecde886beeb3b78a7108fb291852389f182.tar.gz
chromium_src-3194fecde886beeb3b78a7108fb291852389f182.tar.bz2
...
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71331 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/ssl_host_info.h')
-rw-r--r--net/socket/ssl_host_info.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/socket/ssl_host_info.h b/net/socket/ssl_host_info.h
index c384e2e..276888b 100644
--- a/net/socket/ssl_host_info.h
+++ b/net/socket/ssl_host_info.h
@@ -106,6 +106,12 @@ class SSLHostInfo {
return verification_end_time_;
}
+ // set_cert_verification_finished_time allows the SSL socket to tell us when
+ // it finished verifing the certificate. If the DNS request hasn't finished
+ // by this time then we record how long we would have had to have waited for
+ // it.
+ void set_cert_verification_finished_time();
+
protected:
// Parse parses an opaque blob of data and fills out the public member fields
// of this object. It returns true iff the parse was successful. The public
@@ -146,6 +152,7 @@ class SSLHostInfo {
DnsRRResolver::Handle dns_handle_;
RRResponse dns_response_;
base::TimeTicks dns_lookup_start_time_;
+ base::TimeTicks cert_verification_finished_time_;
};
class SSLHostInfoFactory {