diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-11 17:00:30 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-11 17:00:30 +0000 |
commit | 4d52f19910c79ce4a2981629a98c098919ad2414 (patch) | |
tree | 65695e74f9e663a4d5b495efd709379bd8ff7224 /net/http/http_transaction.h | |
parent | 52241e624d90d108e98964108c6004db2cc37129 (diff) | |
download | chromium_src-4d52f19910c79ce4a2981629a98c098919ad2414.zip chromium_src-4d52f19910c79ce4a2981629a98c098919ad2414.tar.gz chromium_src-4d52f19910c79ce4a2981629a98c098919ad2414.tar.bz2 |
net: add --enable-snap-start
This adds --enable-snap-start to enable an experimental zero round
trip TLS handshake. Use of this option disables certificate checking.
TEST=it's complicated
BUG=none
Review URL: http://codereview.chromium.org/3557013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62152 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_transaction.h')
-rw-r--r-- | net/http/http_transaction.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/http/http_transaction.h b/net/http/http_transaction.h index 690d521..2fcd245 100644 --- a/net/http/http_transaction.h +++ b/net/http/http_transaction.h @@ -17,6 +17,7 @@ struct HttpRequestInfo; class HttpResponseInfo; class IOBuffer; class X509Certificate; +class SSLNonSensitiveHostInfo; // Represents a single HTTP transaction (i.e., a single request/response pair). // HTTP redirects are not followed and authentication challenges are not @@ -104,6 +105,11 @@ class HttpTransaction { // Returns the upload progress in bytes. If there is no upload data, // zero will be returned. This does not include the request headers. virtual uint64 GetUploadProgress() const = 0; + + // SetSSLNonSensitiveHostInfo sets a object which reads and writes public + // information about an SSL server. It's used to implement Snap Start. + // TODO(agl): remove this. + virtual void SetSSLNonSensitiveHostInfo(SSLNonSensitiveHostInfo*) { }; }; } // namespace net |