Index: net/disk_cache/mapped_file.h |
diff --git a/net/disk_cache/mapped_file.h b/net/disk_cache/mapped_file.h |
index a60fca8aab1f812ee5db3ce2e078c684b03a8e2c..4649b90d1c928f23e954363ebf1d0ec00bf0b0e6 100644 |
--- a/net/disk_cache/mapped_file.h |
+++ b/net/disk_cache/mapped_file.h |
@@ -50,6 +50,9 @@ class NET_EXPORT_PRIVATE MappedFile : public File { |
#endif |
void* buffer_; // Address of the memory mapped buffer. |
size_t view_size_; // Size of the memory pointed by buffer_. |
+#if defined(POSIX_AVOID_MMAP) |
+ void* snapshot_; // Copy of the buffer taken when it was last flushed. |
+#endif |
DISALLOW_COPY_AND_ASSIGN(MappedFile); |
}; |