diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-23 19:15:01 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-23 19:15:01 +0000 |
commit | 9dd90e58cb52161989caf7fcba35ceada332a05c (patch) | |
tree | ba131fb74c13f8a823b40215ac3f02754900edd4 /net/http/http_response_info.h | |
parent | cfaed54dc81da7803620b184a9837fed43130e5c (diff) | |
download | chromium_src-9dd90e58cb52161989caf7fcba35ceada332a05c.zip chromium_src-9dd90e58cb52161989caf7fcba35ceada332a05c.tar.gz chromium_src-9dd90e58cb52161989caf7fcba35ceada332a05c.tar.bz2 |
Add APIs to expose http cache's metadata and the
the ability to stop caching a given request.
BUG=32406, 22900
TEST=none
Review URL: http://codereview.chromium.org/600167
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39751 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_response_info.h')
-rw-r--r-- | net/http/http_response_info.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/http/http_response_info.h b/net/http/http_response_info.h index a3e0123f..201595c 100644 --- a/net/http/http_response_info.h +++ b/net/http/http_response_info.h @@ -7,6 +7,7 @@ #include "base/time.h" #include "net/base/auth.h" +#include "net/base/io_buffer.h" #include "net/base/ssl_cert_request_info.h" #include "net/base/ssl_info.h" #include "net/http/http_response_headers.h" @@ -61,6 +62,9 @@ class HttpResponseInfo { // The "Vary" header data for this response. HttpVaryData vary_data; + // Any metadata asociated with this resource's cached data. + scoped_refptr<IOBufferWithSize> metadata; + // Initializes from the representation stored in the given pickle. bool InitFromPickle(const Pickle& pickle, bool* response_truncated); |