diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-16 03:01:07 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-16 03:01:07 +0000 |
commit | d4b5711eeb1abed75382d9191f603850ac225f28 (patch) | |
tree | d84016443473eef175f76cdced478aa444587550 /net/url_request | |
parent | b63b8dfc20afeeda1ca227dc43887fd4b100d1ba (diff) | |
download | chromium_src-d4b5711eeb1abed75382d9191f603850ac225f28.zip chromium_src-d4b5711eeb1abed75382d9191f603850ac225f28.tar.gz chromium_src-d4b5711eeb1abed75382d9191f603850ac225f28.tar.bz2 |
Disk cache: Add the name of the relevant flag to
truncated entries on the view-cache details page.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/502021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34643 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request')
-rw-r--r-- | net/url_request/view_cache_helper.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/url_request/view_cache_helper.cc b/net/url_request/view_cache_helper.cc index 80176cc..b818ba5 100644 --- a/net/url_request/view_cache_helper.cc +++ b/net/url_request/view_cache_helper.cc @@ -73,6 +73,9 @@ static std::string FormatEntryDetails(disk_cache::Entry* entry) { bool truncated; if (net::HttpCache::ReadResponseInfo(entry, &response, &truncated) && response.headers) { + if (truncated) + result.append("<pre>RESPONSE_INFO_TRUNCATED</pre>"); + result.append("<hr><pre>"); result.append(EscapeForHTML(response.headers->GetStatusLine())); result.push_back('\n'); |