| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_MEMORY_SHARED_MEMORY_HANDLE_H_ | 5 #ifndef BASE_MEMORY_SHARED_MEMORY_HANDLE_H_ |
| 6 #define BASE_MEMORY_SHARED_MEMORY_HANDLE_H_ | 6 #define BASE_MEMORY_SHARED_MEMORY_HANDLE_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| 9 | 11 |
| 10 #if defined(OS_WIN) | 12 #if defined(OS_WIN) |
| 11 #include <windows.h> | 13 #include <windows.h> |
| 12 #include "base/process/process_handle.h" | 14 #include "base/process/process_handle.h" |
| 13 #elif defined(OS_MACOSX) && !defined(OS_IOS) | 15 #elif defined(OS_MACOSX) && !defined(OS_IOS) |
| 14 #include <mach/mach.h> | 16 #include <mach/mach.h> |
| 15 #include <sys/types.h> | 17 #include <sys/types.h> |
| 16 #include "base/base_export.h" | 18 #include "base/base_export.h" |
| 17 #include "base/file_descriptor_posix.h" | 19 #include "base/file_descriptor_posix.h" |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 // Defaults to |false|. | 192 // Defaults to |false|. |
| 191 bool ownership_passes_to_ipc_; | 193 bool ownership_passes_to_ipc_; |
| 192 }; | 194 }; |
| 193 }; | 195 }; |
| 194 }; | 196 }; |
| 195 #endif | 197 #endif |
| 196 | 198 |
| 197 } // namespace base | 199 } // namespace base |
| 198 | 200 |
| 199 #endif // BASE_MEMORY_SHARED_MEMORY_HANDLE_H_ | 201 #endif // BASE_MEMORY_SHARED_MEMORY_HANDLE_H_ |
| OLD | NEW |