Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Unified Diff: net/disk_cache/disk_cache.h

Issue 12794003: Initialize the simple cache backend at runtime. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,10 @@
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);
rvargas (doing something else) 2013/03/25 22:06:04 move this to cache_util.h
pasko-google - do not use 2013/03/26 16:54:57 Done.
+
// The root interface for a disk cache instance.
class NET_EXPORT Backend {
public:

Powered by Google App Engine
This is Rietveld 408576698