summaryrefslogtreecommitdiffstats
path: root/net/http/http_transaction.h
diff options
context:
space:
mode:
authorrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-22 09:23:27 +0000
committerrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-22 09:23:27 +0000
commite20df7ba4595fe32ec0872ba83baf76de0e93b4f (patch)
treef9b6ec9a922fc1f1bc717a00ae685b2fb7e89e04 /net/http/http_transaction.h
parent1183b0258db1370e68038c7f6124991b71bf6c07 (diff)
downloadchromium_src-e20df7ba4595fe32ec0872ba83baf76de0e93b4f.zip
chromium_src-e20df7ba4595fe32ec0872ba83baf76de0e93b4f.tar.gz
chromium_src-e20df7ba4595fe32ec0872ba83baf76de0e93b4f.tar.bz2
Added SSLHostInfo. Storing of server info to our standard disk cache.
Implemented DiskCacheBasedSSLHostInfo which fetches information about an SSL host from our standard disk cache. Since the information is defined to be non-sensitive, it's ok for us to keep it on disk. SSLHostInfo persists/restores server's certificates. Certificates is a vector of DER encoded X.509 certificates, as the server returned them and in the same order. These changes are the frame work. This code is not enabled to store any data to disk cache. R=wtc@chromium.org Review URL: https://codereview.chromium.org/135373002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246254 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_transaction.h')
-rw-r--r--net/http/http_transaction.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/http/http_transaction.h b/net/http/http_transaction.h
index 1facef7..b532760 100644
--- a/net/http/http_transaction.h
+++ b/net/http/http_transaction.h
@@ -22,6 +22,7 @@ class HttpResponseInfo;
class IOBuffer;
struct LoadTimingInfo;
class X509Certificate;
+class SSLHostInfo;
// Represents a single HTTP transaction (i.e., a single request/response pair).
// HTTP redirects are not followed and authentication challenges are not
@@ -133,6 +134,10 @@ class NET_EXPORT_PRIVATE HttpTransaction {
// zero will be returned. This does not include the request headers.
virtual UploadProgress GetUploadProgress() const = 0;
+ // SetSSLHostInfo sets a object which reads and writes public information
+ // about an SSL server.
+ virtual void SetSSLHostInfo(SSLHostInfo*) {};
+
// Populates all of load timing, except for request start times and receive
// headers time.
// |load_timing_info| must have all null times when called. Returns false and