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

Side by Side Diff: base/shared_memory.h

Issue 9465017: Make more of base compile with the Native Client toolchain. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « base/os_compat_nacl.cc ('k') | base/third_party/nspr/prtime.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_SHARED_MEMORY_H_ 5 #ifndef BASE_SHARED_MEMORY_H_
6 #define BASE_SHARED_MEMORY_H_ 6 #define BASE_SHARED_MEMORY_H_
7 #pragma once 7 #pragma once
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
11 #if defined(OS_POSIX) 11 #if defined(OS_POSIX)
12 #include <stdio.h>
12 #include <sys/types.h> 13 #include <sys/types.h>
13 #include <semaphore.h> 14 #include <semaphore.h>
14 #include "base/file_descriptor_posix.h" 15 #include "base/file_descriptor_posix.h"
15 #endif 16 #endif
16 #include <string> 17 #include <string>
17 18
18 #include "base/base_export.h" 19 #include "base/base_export.h"
19 #include "base/basictypes.h" 20 #include "base/basictypes.h"
20 #include "base/process.h" 21 #include "base/process.h"
21 22
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 } 264 }
264 265
265 private: 266 private:
266 SharedMemory* shared_memory_; 267 SharedMemory* shared_memory_;
267 DISALLOW_COPY_AND_ASSIGN(SharedMemoryAutoLock); 268 DISALLOW_COPY_AND_ASSIGN(SharedMemoryAutoLock);
268 }; 269 };
269 270
270 } // namespace base 271 } // namespace base
271 272
272 #endif // BASE_SHARED_MEMORY_H_ 273 #endif // BASE_SHARED_MEMORY_H_
OLDNEW
« no previous file with comments | « base/os_compat_nacl.cc ('k') | base/third_party/nspr/prtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698