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

Unified Diff: net/url_request/url_request_view_cache_job.cc

Issue 197016: Http Cache: Add support for resuming downloading a... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 months 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 | « net/tools/dump_cache/cache_dumper.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_view_cache_job.cc
===================================================================
--- net/url_request/url_request_view_cache_job.cc (revision 25542)
+++ net/url_request/url_request_view_cache_job.cc (working copy)
@@ -66,7 +66,9 @@
std::string result = EscapeForHTML(entry->GetKey());
net::HttpResponseInfo response;
- if (net::HttpCache::ReadResponseInfo(entry, &response) && response.headers) {
+ bool truncated;
+ if (net::HttpCache::ReadResponseInfo(entry, &response, &truncated) &&
+ response.headers) {
result.append("<hr><pre>");
result.append(EscapeForHTML(response.headers->GetStatusLine()));
result.push_back('\n');
« no previous file with comments | « net/tools/dump_cache/cache_dumper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698