Chromium Code Reviews| Index: net/disk_cache/blockfile/mapped_file.h |
| diff --git a/net/disk_cache/blockfile/mapped_file.h b/net/disk_cache/blockfile/mapped_file.h |
| index 8a1e40fa6ce961e46e63a7badbb901c64ad3b556..368769e0ee483e379b091d77b095afadcac1a7bd 100644 |
| --- a/net/disk_cache/blockfile/mapped_file.h |
| +++ b/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 cache and make sure the file is fully readable |
| + // (synchronously). |
| + bool Preload(); |
|
gavinp
2014/03/21 10:20:24
Are there any MappedFile instances that we do not
|
| + |
| private: |
| virtual ~MappedFile(); |