OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_EXO_SHARED_MEMORY_H_ | 5 #ifndef COMPONENTS_EXO_SHARED_MEMORY_H_ |
6 #define COMPONENTS_EXO_SHARED_MEMORY_H_ | 6 #define COMPONENTS_EXO_SHARED_MEMORY_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/shared_memory.h" | 10 #include "base/memory/shared_memory.h" |
11 #include "ui/gfx/buffer_types.h" | 11 #include "ui/gfx/buffer_types.h" |
12 #include "ui/gfx/geometry/size.h" | 12 #include "ui/gfx/geometry/size.h" |
13 | 13 |
14 namespace exo { | 14 namespace exo { |
15 class Buffer; | 15 class Buffer; |
16 | 16 |
17 // Shared memory abstraction. Provides a wrapper around base::SharedMemory | 17 // Shared memory abstraction. Provides a wrapper around base::SharedMemory |
18 // with functionality to create buffers from the memory to use for display. | 18 // with functionality to create buffers from the memory to use for display. |
(...skipping 14 matching lines...) Expand all Loading... |
33 | 33 |
34 private: | 34 private: |
35 base::SharedMemory shared_memory_; | 35 base::SharedMemory shared_memory_; |
36 | 36 |
37 DISALLOW_COPY_AND_ASSIGN(SharedMemory); | 37 DISALLOW_COPY_AND_ASSIGN(SharedMemory); |
38 }; | 38 }; |
39 | 39 |
40 } // namespace exo | 40 } // namespace exo |
41 | 41 |
42 #endif // COMPONENTS_EXO_SHARED_MEMORY_H_ | 42 #endif // COMPONENTS_EXO_SHARED_MEMORY_H_ |
OLD | NEW |