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

Side by Side Diff: ppapi/proxy/plugin_array_buffer_var.h

Issue 19284015: Use a direct include of the shared_memory header in media/, ppapi/, webkit/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | « ppapi/proxy/gamepad_resource.h ('k') | ppapi/proxy/plugin_array_buffer_var.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 PPAPI_PROXY_PLUGIN_ARRAY_BUFFER_VAR_H_ 5 #ifndef PPAPI_PROXY_PLUGIN_ARRAY_BUFFER_VAR_H_
6 #define PPAPI_PROXY_PLUGIN_ARRAY_BUFFER_VAR_H_ 6 #define PPAPI_PROXY_PLUGIN_ARRAY_BUFFER_VAR_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/shared_memory.h" 12 #include "base/memory/shared_memory.h"
13 #include "ppapi/c/pp_instance.h" 13 #include "ppapi/c/pp_instance.h"
14 #include "ppapi/c/pp_stdint.h" 14 #include "ppapi/c/pp_stdint.h"
15 #include "ppapi/shared_impl/var.h" 15 #include "ppapi/shared_impl/var.h"
16 16
17 namespace ppapi { 17 namespace ppapi {
18 18
19 // Represents a plugin-side ArrayBufferVar. In the plugin process, it's 19 // Represents a plugin-side ArrayBufferVar. In the plugin process, it's
20 // owned as a vector. 20 // owned as a vector.
21 class PluginArrayBufferVar : public ArrayBufferVar { 21 class PluginArrayBufferVar : public ArrayBufferVar {
22 public: 22 public:
(...skipping 19 matching lines...) Expand all
42 base::SharedMemoryHandle plugin_handle_; 42 base::SharedMemoryHandle plugin_handle_;
43 scoped_ptr<base::SharedMemory> shmem_; 43 scoped_ptr<base::SharedMemory> shmem_;
44 uint32 size_in_bytes_; 44 uint32 size_in_bytes_;
45 45
46 DISALLOW_COPY_AND_ASSIGN(PluginArrayBufferVar); 46 DISALLOW_COPY_AND_ASSIGN(PluginArrayBufferVar);
47 }; 47 };
48 48
49 } // namespace ppapi 49 } // namespace ppapi
50 50
51 #endif // PPAPI_PROXY_PLUGIN_ARRAY_BUFFER_VAR_H_ 51 #endif // PPAPI_PROXY_PLUGIN_ARRAY_BUFFER_VAR_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/gamepad_resource.h ('k') | ppapi/proxy/plugin_array_buffer_var.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698