From 91f4caabc045b18d0897d7f3a10bf95baa6d842d Mon Sep 17 00:00:00 2001 From: "tonyg@chromium.org" Date: Mon, 19 Apr 2010 16:50:50 +0000 Subject: Update about:cache to display cached metadata for an entry. Also, factor a constant for the number of cache data indices. BUG=32407 TEST=None Review URL: http://codereview.chromium.org/1594036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44918 0039d316-1c4b-4281-b951-d872f2087c98 --- net/http/http_cache.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'net/http/http_cache.h') diff --git a/net/http/http_cache.h b/net/http/http_cache.h index f9c1d7f..f8db513 100644 --- a/net/http/http_cache.h +++ b/net/http/http_cache.h @@ -28,6 +28,7 @@ #include "net/http/http_transaction_factory.h" class GURL; +class ViewCacheHelper; namespace disk_cache { class Backend; @@ -158,6 +159,18 @@ class HttpCache : public HttpTransactionFactory, enable_range_support_ = value; } + protected: + // Disk cache entry data indices. + enum { + kResponseInfoIndex = 0, + kResponseContentIndex, + kMetadataIndex, + + // Must remain at the end of the enum. + kNumCacheEntryDataIndices + }; + friend class ::ViewCacheHelper; + private: // Types -------------------------------------------------------------------- -- cgit v1.1