OLD | NEW |
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 REMOTING_BASE_SHARED_BUFFER_H_ | 5 #ifndef REMOTING_CAPTURER_SHARED_BUFFER_H_ |
6 #define REMOTING_BASE_SHARED_BUFFER_H_ | 6 #define REMOTING_CAPTURER_SHARED_BUFFER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/process.h" | 10 #include "base/process.h" |
11 #include "base/shared_memory.h" | 11 #include "base/shared_memory.h" |
12 | 12 |
13 namespace remoting { | 13 namespace remoting { |
14 | 14 |
15 // Represents a memory buffer that can be shared between multiple processes. | 15 // Represents a memory buffer that can be shared between multiple processes. |
16 // It is more or less a convenience wrapper around base::SharedMemory providing | 16 // It is more or less a convenience wrapper around base::SharedMemory providing |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 base::SharedMemory shared_memory_; | 59 base::SharedMemory shared_memory_; |
60 | 60 |
61 // Size of the buffer in bytes. | 61 // Size of the buffer in bytes. |
62 uint32 size_; | 62 uint32 size_; |
63 | 63 |
64 DISALLOW_COPY_AND_ASSIGN(SharedBuffer); | 64 DISALLOW_COPY_AND_ASSIGN(SharedBuffer); |
65 }; | 65 }; |
66 | 66 |
67 } // namespace remoting | 67 } // namespace remoting |
68 | 68 |
69 #endif // REMOTING_BASE_SHARED_BUFFER_H_ | 69 #endif // REMOTING_CAPTURER_SHARED_BUFFER_H_ |
OLD | NEW |