Do not DCHECK on SimpleCache deletion-while-closing.
commit8e33c7610574ebe3466177f227b1c17e47f4f731
authorgavinp <gavinp@chromium.org>
Fri, 31 Oct 2014 15:42:13 +0000 (31 08:42 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 31 Oct 2014 15:42:28 +0000 (31 15:42 +0000)
tree48929c55ce353a2f2d80e101244e15ff5ad938ae
parente37b387fffacf11114bf0b9f766b7c18522b12a9
Do not DCHECK on SimpleCache deletion-while-closing.

The cache should be safe to delete immediately after calling the
destructor. This means that failures from files going missing while
the index is being serialized are acceptable; if we are going to
actually restart this cache, they can be dealt with at startup anyway.

R=jkarlin@chromium.org
BUG=416940

Review URL: https://codereview.chromium.org/691803003

Cr-Commit-Position: refs/heads/master@{#302272}
net/disk_cache/backend_unittest.cc
net/disk_cache/simple/simple_index_file.cc