Index: base/files/memory_mapped_file.h |
diff --git a/base/files/memory_mapped_file.h b/base/files/memory_mapped_file.h |
index 96d1d91f9359b8c96c9646a444add20be2555472..23a7a65dad31934e8df84e0c57beffbc95e70c9e 100644 |
--- a/base/files/memory_mapped_file.h |
+++ b/base/files/memory_mapped_file.h |
@@ -10,10 +10,6 @@ |
#include "base/files/file.h" |
#include "build/build_config.h" |
-#if defined(OS_WIN) |
-#include <windows.h> |
-#endif |
- |
namespace base { |
class FilePath; |
@@ -59,12 +55,6 @@ class BASE_EXPORT MemoryMappedFile { |
// As above, but works with a region of an already-opened file. |
bool Initialize(File file, const Region& region); |
-#if defined(OS_WIN) |
- // Opens an existing file and maps it as an image section. Please refer to |
- // the Initialize function above for additional information. |
- bool InitializeAsImageSection(const FilePath& file_name); |
-#endif // OS_WIN |
- |
const uint8* data() const { return data_; } |
size_t length() const { return length_; } |
@@ -95,11 +85,6 @@ class BASE_EXPORT MemoryMappedFile { |
uint8* data_; |
size_t length_; |
-#if defined(OS_WIN) |
- win::ScopedHandle file_mapping_; |
- bool image_; // Map as an image. |
-#endif |
- |
DISALLOW_COPY_AND_ASSIGN(MemoryMappedFile); |
}; |