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

Unified Diff: net/disk_cache/block_files.h

Issue 164187: Merge 21762 - Disk Cache: Delete chained block files when they become empty.... (Closed) Base URL: svn://chrome-svn/chrome/branches/195/src/
Patch Set: Created 11 years, 4 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 22788)
+++ 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);
Property changes on: net\disk_cache\block_files.h
___________________________________________________________________
Added: svn:mergeinfo
Merged /branches/chrome_webkit_merge_branch/net/disk_cache/block_files.h:r69-2775
Merged /trunk/src/net/disk_cache/block_files.h:r21762
« 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