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

Side by Side Diff: remoting/capturer/shared_buffer.h

Issue 11470028: Move screen capturers to remoting/capturer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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
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 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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698