Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1929)

Unified Diff: net/http/http_cache_transaction.h

Issue 434052: Http cache: Add code to restart a network request when the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/http/http_cache_transaction.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_cache_transaction.h
===================================================================
--- net/http/http_cache_transaction.h (revision 32886)
+++ net/http/http_cache_transaction.h (working copy)
@@ -156,8 +156,11 @@
// 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();
« no previous file with comments | « no previous file | net/http/http_cache_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698