Chromium Code Reviews| Index: net/disk_cache/disk_cache.h |
| =================================================================== |
| --- net/disk_cache/disk_cache.h (revision 188696) |
| +++ net/disk_cache/disk_cache.h (working copy) |
| @@ -54,6 +54,23 @@ |
| net::NetLog* net_log, Backend** backend, |
| const net::CompletionCallback& callback); |
| +// A version of the above with additional |flags| allowing more fine-tuned |
| +// testing. |
| +NET_EXPORT int CreateCacheBackendWithFlags( |
|
rvargas (doing something else)
2013/03/18 22:25:25
Regardless of the file, the correct declaration wo
|
| + net::CacheType type, |
| + const base::FilePath& path, |
| + int max_bytes, |
| + bool force, |
| + uint32 flags, |
| + base::MessageLoopProxy* thread, |
| + net::NetLog* net_log, |
| + Backend** backend, |
| + const net::CompletionCallback& callback); |
| + |
| +// Renames cache directory synchronously and fires off a background cleanup |
| +// task. Used by cache creator itself or by backends for self-restart on error. |
| +bool DelayedCacheCleanup(const base::FilePath& full_path); |
| + |
| // The root interface for a disk cache instance. |
| class NET_EXPORT Backend { |
| public: |