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_transaction.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_transaction.h')
-rw-r--r-- | net/http/http_transaction.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/http/http_transaction.h b/net/http/http_transaction.h index 2f8ddba..8a0d25f 100644 --- a/net/http/http_transaction.h +++ b/net/http/http_transaction.h @@ -91,6 +91,9 @@ class HttpTransaction { virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback) = 0; + // Stops further caching of this request by the HTTP cache, if there is any. + virtual void StopCaching() = 0; + // Returns the response info for this transaction or NULL if the response // info is not available. virtual const HttpResponseInfo* GetResponseInfo() const = 0; |