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

Unified Diff: base/files/memory_mapped_file.h

Issue 1446363003: Deleted OS_WIN and all Windows specific files from base. (Closed) Base URL: https://github.com/domokit/mojo.git@base_tests
Patch Set: Created 5 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 | « base/files/file_win.cc ('k') | base/files/memory_mapped_file_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « base/files/file_win.cc ('k') | base/files/memory_mapped_file_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698