diff options
Diffstat (limited to 'net/http/http_cache_transaction.h')
-rw-r--r-- | net/http/http_cache_transaction.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net/http/http_cache_transaction.h b/net/http/http_cache_transaction.h index d58105f..69b785c 100644 --- a/net/http/http_cache_transaction.h +++ b/net/http/http_cache_transaction.h @@ -156,8 +156,11 @@ 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 a network error code. - bool ValidatePartialResponse(const HttpResponseHeaders* headers); + // 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); // Handles a response validation error by bypassing the cache. void IgnoreRangeRequest(); |