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/memory/shared_memory.h

Issue 468253002: Move file_util to base/files/ directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Forgot to add forwarding header to patch Created 6 years, 4 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/memory/discardable_memory_ashmem_allocator.cc ('k') | base/memory/shared_memory_posix.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) 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 "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #include <string> 10 #include <string>
11 11
12 #if defined(OS_POSIX) 12 #if defined(OS_POSIX)
13 #include <stdio.h> 13 #include <stdio.h>
14 #include <sys/types.h> 14 #include <sys/types.h>
15 #include <semaphore.h> 15 #include <semaphore.h>
16 #endif 16 #endif
17 17
18 #include "base/base_export.h" 18 #include "base/base_export.h"
19 #include "base/basictypes.h" 19 #include "base/basictypes.h"
20 #include "base/process/process_handle.h" 20 #include "base/process/process_handle.h"
21 21
22 #if defined(OS_POSIX) 22 #if defined(OS_POSIX)
23 #include "base/file_descriptor_posix.h" 23 #include "base/file_descriptor_posix.h"
24 #include "base/file_util.h" 24 #include "base/files/file_util.h"
25 #include "base/files/scoped_file.h" 25 #include "base/files/scoped_file.h"
26 #endif 26 #endif
27 27
28 namespace base { 28 namespace base {
29 29
30 class FilePath; 30 class FilePath;
31 31
32 // SharedMemoryHandle is a platform specific type which represents 32 // SharedMemoryHandle is a platform specific type which represents
33 // the underlying OS handle to a shared memory segment. 33 // the underlying OS handle to a shared memory segment.
34 #if defined(OS_WIN) 34 #if defined(OS_WIN)
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 } 316 }
317 317
318 private: 318 private:
319 SharedMemory* shared_memory_; 319 SharedMemory* shared_memory_;
320 DISALLOW_COPY_AND_ASSIGN(SharedMemoryAutoLockDeprecated); 320 DISALLOW_COPY_AND_ASSIGN(SharedMemoryAutoLockDeprecated);
321 }; 321 };
322 322
323 } // namespace base 323 } // namespace base
324 324
325 #endif // BASE_MEMORY_SHARED_MEMORY_H_ 325 #endif // BASE_MEMORY_SHARED_MEMORY_H_
OLDNEW
« no previous file with comments | « base/memory/discardable_memory_ashmem_allocator.cc ('k') | base/memory/shared_memory_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698