diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-30 00:08:05 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-30 00:08:05 +0000 |
commit | 036e91c7ed0104d4d147a2937814694d03e4a74b (patch) | |
tree | 7ecf95df19df7c358804b2dedb4dc4060f4a86a3 /net/http/http_cache_transaction.h | |
parent | cf6cad85480fe35a3eb01d9021691eabca364610 (diff) | |
download | chromium_src-036e91c7ed0104d4d147a2937814694d03e4a74b.zip chromium_src-036e91c7ed0104d4d147a2937814694d03e4a74b.tar.gz chromium_src-036e91c7ed0104d4d147a2937814694d03e4a74b.tar.bz2 |
Revert 33133 - Http cache: Add code to restart a network request when the
server doesn't revalidate a partially stored entry, in other
words, after we issued a conditional byte range request.
BUG=27276, 28850
TEST=unittests
Review URL: http://codereview.chromium.org/434052
TBR=rvargas@google.com
Review URL: http://codereview.chromium.org/452003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33253 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_cache_transaction.h')
-rw-r--r-- | net/http/http_cache_transaction.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/net/http/http_cache_transaction.h b/net/http/http_cache_transaction.h index 69b785c..d58105f 100644 --- a/net/http/http_cache_transaction.h +++ b/net/http/http_cache_transaction.h @@ -156,11 +156,8 @@ class HttpCache::Transaction : public HttpTransaction { // copy is valid). Returns true if able to make the request conditional. bool ConditionalizeRequest(); - // Makes sure that a 206 response is expected. Returns true on success. - // On success, |partial_content| will be set to true if we are processing a - // partial entry. - bool ValidatePartialResponse(const HttpResponseHeaders* headers, - bool* partial_content); + // Makes sure that a 206 response is expected. Returns a network error code. + bool ValidatePartialResponse(const HttpResponseHeaders* headers); // Handles a response validation error by bypassing the cache. void IgnoreRangeRequest(); |