| Index: net/tools/crash_cache/crash_cache.cc
|
| ===================================================================
|
| --- net/tools/crash_cache/crash_cache.cc (revision 12517)
|
| +++ net/tools/crash_cache/crash_cache.cc (working copy)
|
| @@ -119,7 +119,8 @@
|
|
|
| // Generates the files for an empty and one item cache.
|
| int SimpleInsert(const std::wstring& path, RankCrashes action) {
|
| - disk_cache::Backend* cache = disk_cache::CreateCacheBackend(path, false, 0);
|
| + disk_cache::Backend* cache = disk_cache::CreateCacheBackend(path, false, 0,
|
| + net::DISK_CACHE);
|
| if (!cache || cache->GetEntryCount())
|
| return GENERIC;
|
|
|
| @@ -151,7 +152,8 @@
|
| DCHECK(action >= disk_cache::REMOVE_ONE_1);
|
| DCHECK(action <= disk_cache::REMOVE_TAIL_3);
|
|
|
| - disk_cache::Backend* cache = disk_cache::CreateCacheBackend(path, false, 0);
|
| + disk_cache::Backend* cache = disk_cache::CreateCacheBackend(path, false, 0,
|
| + net::DISK_CACHE);
|
| if (!cache || cache->GetEntryCount())
|
| return GENERIC;
|
|
|
| @@ -182,7 +184,8 @@
|
| DCHECK(action >= disk_cache::REMOVE_HEAD_1);
|
| DCHECK(action <= disk_cache::REMOVE_HEAD_4);
|
|
|
| - disk_cache::Backend* cache = disk_cache::CreateCacheBackend(path, false, 0);
|
| + disk_cache::Backend* cache = disk_cache::CreateCacheBackend(path, false, 0,
|
| + net::DISK_CACHE);
|
| if (!cache || cache->GetEntryCount())
|
| return GENERIC;
|
|
|
|
|