summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/rankings.h
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-04 23:03:33 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-04 23:03:33 +0000
commit62cdf1eb96a4c410b503652a5656e0b197b1b9eb (patch)
treeda020c20415d39f79eab88c4a818934e1df2fede /net/disk_cache/rankings.h
parenta100d13626ad0ddeb4b0a7bb81eb9a736acc4d11 (diff)
downloadchromium_src-62cdf1eb96a4c410b503652a5656e0b197b1b9eb.zip
chromium_src-62cdf1eb96a4c410b503652a5656e0b197b1b9eb.tar.gz
chromium_src-62cdf1eb96a4c410b503652a5656e0b197b1b9eb.tar.bz2
Disk cache: Add support for an extra data stream for each cache entry.
This is the first step to allow the http cache to store additional metadata for certain entries. The cache file format changes to version 2.0 so an effect of this cl is that the borwser will discard the old cache files. Review URL: http://codereview.chromium.org/12880 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6392 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/rankings.h')
-rw-r--r--net/disk_cache/rankings.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/disk_cache/rankings.h b/net/disk_cache/rankings.h
index 1a2dadc..4347fa2 100644
--- a/net/disk_cache/rankings.h
+++ b/net/disk_cache/rankings.h
@@ -4,8 +4,8 @@
// See net/disk_cache/disk_cache.h for the public interface.
-#ifndef NET_DISK_CACHE_RANKINGS_H__
-#define NET_DISK_CACHE_RANKINGS_H__
+#ifndef NET_DISK_CACHE_RANKINGS_H_
+#define NET_DISK_CACHE_RANKINGS_H_
#include <list>
@@ -141,14 +141,14 @@ class Rankings {
bool init_;
Addr head_;
Addr tail_;
- BlockFileHeader* header_; // Header of the block-file used to store rankings.
BackendImpl* backend_;
+ LruData* control_data_; // Data related to the LRU lists.
IteratorList iterators_;
- DISALLOW_EVIL_CONSTRUCTORS(Rankings);
+ DISALLOW_COPY_AND_ASSIGN(Rankings);
};
} // namespace disk_cache
-#endif // NET_DISK_CACHE_RANKINGS_H__
+#endif // NET_DISK_CACHE_RANKINGS_H_