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

Side by Side Diff: base/memory/shared_memory.h

Issue 2830093003: Replace uses of hash_map in //base (Closed)
Patch Set: iOS Created 3 years, 8 months 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/id_map_unittest.cc ('k') | base/memory/shared_memory_tracker.h » ('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 (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>
11 11
12 #include "base/base_export.h" 12 #include "base/base_export.h"
13 #include "base/hash.h"
13 #include "base/macros.h" 14 #include "base/macros.h"
14 #include "base/memory/shared_memory_handle.h" 15 #include "base/memory/shared_memory_handle.h"
15 #include "base/process/process_handle.h" 16 #include "base/process/process_handle.h"
16 #include "build/build_config.h" 17 #include "build/build_config.h"
17 18
18 #if defined(OS_POSIX) 19 #if defined(OS_POSIX)
19 #include <stdio.h> 20 #include <stdio.h>
20 #include <sys/types.h> 21 #include <sys/types.h>
21 #include <semaphore.h> 22 #include <semaphore.h>
22 #include "base/file_descriptor_posix.h" 23 #include "base/file_descriptor_posix.h"
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 void* memory_; 314 void* memory_;
314 bool read_only_; 315 bool read_only_;
315 size_t requested_size_; 316 size_t requested_size_;
316 317
317 DISALLOW_COPY_AND_ASSIGN(SharedMemory); 318 DISALLOW_COPY_AND_ASSIGN(SharedMemory);
318 }; 319 };
319 320
320 } // namespace base 321 } // namespace base
321 322
322 #endif // BASE_MEMORY_SHARED_MEMORY_H_ 323 #endif // BASE_MEMORY_SHARED_MEMORY_H_
OLDNEW
« no previous file with comments | « base/id_map_unittest.cc ('k') | base/memory/shared_memory_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698