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

Side by Side Diff: base/files/memory_mapped_file.h

Issue 1549853002: Switch to standard integer types in base/files/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years 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 unified diff | Download patch
« no previous file with comments | « base/files/important_file_writer_unittest.cc ('k') | base/files/memory_mapped_file.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BASE_FILES_MEMORY_MAPPED_FILE_H_ 5 #ifndef BASE_FILES_MEMORY_MAPPED_FILE_H_
6 #define BASE_FILES_MEMORY_MAPPED_FILE_H_ 6 #define BASE_FILES_MEMORY_MAPPED_FILE_H_
7 7
8 #include <stddef.h>
9 #include <stdint.h>
10
8 #include "base/base_export.h" 11 #include "base/base_export.h"
9 #include "base/files/file.h" 12 #include "base/files/file.h"
10 #include "base/macros.h" 13 #include "base/macros.h"
11 #include "build/build_config.h" 14 #include "build/build_config.h"
12 15
13 #if defined(OS_WIN) 16 #if defined(OS_WIN)
14 #include <windows.h> 17 #include <windows.h>
15 #endif 18 #endif
16 19
17 namespace base { 20 namespace base {
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 win::ScopedHandle file_mapping_; 95 win::ScopedHandle file_mapping_;
93 bool image_; // Map as an image. 96 bool image_; // Map as an image.
94 #endif 97 #endif
95 98
96 DISALLOW_COPY_AND_ASSIGN(MemoryMappedFile); 99 DISALLOW_COPY_AND_ASSIGN(MemoryMappedFile);
97 }; 100 };
98 101
99 } // namespace base 102 } // namespace base
100 103
101 #endif // BASE_FILES_MEMORY_MAPPED_FILE_H_ 104 #endif // BASE_FILES_MEMORY_MAPPED_FILE_H_
OLDNEW
« no previous file with comments | « base/files/important_file_writer_unittest.cc ('k') | base/files/memory_mapped_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698