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

Unified Diff: net/disk_cache/block_files.h

Issue 159451: Disk Cache: Delete chained block files when they become empty.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 5 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
« no previous file with comments | « no previous file | net/disk_cache/block_files.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/block_files.h
===================================================================
--- net/disk_cache/block_files.h (revision 21550)
+++ net/disk_cache/block_files.h (working copy)
@@ -61,6 +61,9 @@
// Creates an empty block file and returns its index.
int CreateNextBlockFile(FileType block_type);
+ // Removes a chained block file that is now empty.
+ void RemoveEmptyFile(FileType block_type);
+
// Restores the header of a potentially inconsistent file.
bool FixBlockFileHeader(MappedFile* file);
« no previous file with comments | « no previous file | net/disk_cache/block_files.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698