| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_H_ | 5 #ifndef BASE_MEMORY_SHARED_MEMORY_H_ |
| 6 #define BASE_MEMORY_SHARED_MEMORY_H_ | 6 #define BASE_MEMORY_SHARED_MEMORY_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 int mapped_file_; | 280 int mapped_file_; |
| 281 int readonly_mapped_file_; | 281 int readonly_mapped_file_; |
| 282 #endif | 282 #endif |
| 283 size_t mapped_size_; | 283 size_t mapped_size_; |
| 284 void* memory_; | 284 void* memory_; |
| 285 bool read_only_; | 285 bool read_only_; |
| 286 size_t requested_size_; | 286 size_t requested_size_; |
| 287 | 287 |
| 288 DISALLOW_COPY_AND_ASSIGN(SharedMemory); | 288 DISALLOW_COPY_AND_ASSIGN(SharedMemory); |
| 289 }; | 289 }; |
| 290 |
| 290 } // namespace base | 291 } // namespace base |
| 291 | 292 |
| 292 #endif // BASE_MEMORY_SHARED_MEMORY_H_ | 293 #endif // BASE_MEMORY_SHARED_MEMORY_H_ |
| OLD | NEW |