projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git]
/
src
/
net
/
disk_cache
/
blockfile
/
mapped_file.h
diff --git
a/src/net/disk_cache/blockfile/mapped_file.h
b/src/net/disk_cache/blockfile/mapped_file.h
index
8a1e40f
..
f0efa41
100644
(file)
--- a/
src/net/disk_cache/blockfile/mapped_file.h
+++ b/
src/net/disk_cache/blockfile/mapped_file.h
@@
-46,6
+46,10
@@
class NET_EXPORT_PRIVATE MappedFile : public File {
// Flush the memory-mapped section to disk (synchronously).
void Flush();
+ // Heats up the file system cache and make sure the file is fully
+ // readable (synchronously).
+ bool Preload();
+
private:
virtual ~MappedFile();