| Index: net/disk_cache/entry_impl.h
|
| ===================================================================
|
| --- net/disk_cache/entry_impl.h (revision 11078)
|
| +++ net/disk_cache/entry_impl.h (working copy)
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef NET_DISK_CACHE_ENTRY_IMPL_H__
|
| -#define NET_DISK_CACHE_ENTRY_IMPL_H__
|
| +#ifndef NET_DISK_CACHE_ENTRY_IMPL_H_
|
| +#define NET_DISK_CACHE_ENTRY_IMPL_H_
|
|
|
| #include "net/disk_cache/disk_cache.h"
|
| #include "net/disk_cache/storage_block.h"
|
| @@ -52,9 +52,13 @@
|
| // Returns true if this entry matches the lookup arguments.
|
| bool IsSameEntry(const std::string& key, uint32 hash);
|
|
|
| - // Permamently destroys this entry
|
| + // Permamently destroys this entry.
|
| void InternalDoom();
|
|
|
| + // Deletes this entry from disk. If |everything| is false, only the user data
|
| + // will be removed, leaving the key and control data intact.
|
| + void DeleteEntryData(bool everything);
|
| +
|
| // Returns the address of the next entry on the list of entries with the same
|
| // hash.
|
| CacheAddr GetNextAddress();
|
| @@ -148,5 +152,5 @@
|
|
|
| } // namespace disk_cache
|
|
|
| -#endif // NET_DISK_CACHE_ENTRY_IMPL_H__
|
| +#endif // NET_DISK_CACHE_ENTRY_IMPL_H_
|
|
|
|
|