diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-30 23:37:25 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-30 23:37:25 +0000 |
commit | 09ad77a8faf8896f0214e9c33958ad40f517c913 (patch) | |
tree | ad74937da5fa67b670dbfe7457f53f2d8e76b31c /net/tools | |
parent | 0cde05a0ecca163cc63aa68ae848aba9c469f45b (diff) | |
download | chromium_src-09ad77a8faf8896f0214e9c33958ad40f517c913.zip chromium_src-09ad77a8faf8896f0214e9c33958ad40f517c913.tar.gz chromium_src-09ad77a8faf8896f0214e9c33958ad40f517c913.tar.bz2 |
Disk cache: Add a hash to the entry's internal data.
EntryStore and RankingsNode now have a new member that
verifies that whatever we read from disk is what we
wrote before.
BUG=100125
TEST=none
Review URL: http://codereview.chromium.org/8658001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112336 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/tools')
-rw-r--r-- | net/tools/dump_cache/dump_files.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tools/dump_cache/dump_files.cc b/net/tools/dump_cache/dump_files.cc index f8913d8..5d2975a 100644 --- a/net/tools/dump_cache/dump_files.cc +++ b/net/tools/dump_cache/dump_files.cc @@ -257,7 +257,7 @@ void DumpRankings(const disk_cache::RankingsNode& rankings) { printf("prev: 0x%x\n", rankings.prev); printf("entry: 0x%x\n", rankings.contents); printf("dirty: %d\n", rankings.dirty); - printf("pointer: 0x%x\n", rankings.dummy); + printf("hash: 0x%x\n", rankings.self_hash); printf("----------\n\n"); } |