diff options
author | tonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-19 16:50:50 +0000 |
---|---|---|
committer | tonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-19 16:50:50 +0000 |
commit | 91f4caabc045b18d0897d7f3a10bf95baa6d842d (patch) | |
tree | 2a5fd3dc99d12613eabc768a6b36681f6fa85ef5 /net/http/http_cache.h | |
parent | 975c326e7dbd036a0bf6ac0ceaaf8cc25ab8729f (diff) | |
download | chromium_src-91f4caabc045b18d0897d7f3a10bf95baa6d842d.zip chromium_src-91f4caabc045b18d0897d7f3a10bf95baa6d842d.tar.gz chromium_src-91f4caabc045b18d0897d7f3a10bf95baa6d842d.tar.bz2 |
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
Diffstat (limited to 'net/http/http_cache.h')
-rw-r--r-- | net/http/http_cache.h | 13 |
1 files changed, 13 insertions, 0 deletions
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 -------------------------------------------------------------------- |