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

Unified Diff: net/disk_cache/mapped_file.h

Issue 17507006: Disk cache v3 ref2 Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Incl IndexTable cl Created 7 years, 1 month 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 | « net/disk_cache/file_win.cc ('k') | net/disk_cache/mapped_file_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
}
« no previous file with comments | « net/disk_cache/file_win.cc ('k') | net/disk_cache/mapped_file_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698