Index: net/disk_cache/mapped_file.h |
=================================================================== |
--- net/disk_cache/mapped_file.h (revision 232523) |
+++ net/disk_cache/mapped_file.h (working copy) |
@@ -30,6 +30,11 @@ |
// will be mapped in memory. |
void* Init(const base::FilePath& name, size_t size); |
+ // Performs object initialization without actually mapping any portion of the |
+ // file. It assumes that the bitmap and header (of the related block file) are |
+ // mapped somewhere else. |
+ bool InitNoMap(const base::FilePath& name); |
+ |
void* buffer() const { |
return buffer_; |
} |