OLD | NEW |
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 UI_GL_SAFE_SHARED_MEMORY_POOL_H_ | 5 #ifndef UI_GL_SAFE_SHARED_MEMORY_POOL_H_ |
6 #define UI_GL_SAFE_SHARED_MEMORY_POOL_H_ | 6 #define UI_GL_SAFE_SHARED_MEMORY_POOL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/shared_memory.h" | 11 #include "base/memory/shared_memory.h" |
12 #include "base/synchronization/lock.h" | 12 #include "base/synchronization/lock.h" |
13 #include "build/build_config.h" | 13 #include "build/build_config.h" |
14 | 14 |
15 namespace base { | 15 namespace base { |
16 class SharedMemory; | 16 class SharedMemory; |
17 } | 17 } |
18 | 18 |
19 namespace gfx { | 19 namespace gfx { |
20 class SafeSharedMemoryPool; | 20 class SafeSharedMemoryPool; |
21 class ScopedSafeSharedMemory; | 21 class ScopedSafeSharedMemory; |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 | 81 |
82 base::Lock lock_; | 82 base::Lock lock_; |
83 | 83 |
84 DISALLOW_COPY_AND_ASSIGN(SafeSharedMemoryPool); | 84 DISALLOW_COPY_AND_ASSIGN(SafeSharedMemoryPool); |
85 }; | 85 }; |
86 | 86 |
87 } // namespace gfx | 87 } // namespace gfx |
88 | 88 |
89 #endif // UI_GL_ASYNC_TASK_DELEGATE_H_ | 89 #endif // UI_GL_ASYNC_TASK_DELEGATE_H_ |
90 | 90 |
OLD | NEW |