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 PPAPI_SHARED_IMPL_VAR_H_ | 5 #ifndef PPAPI_SHARED_IMPL_VAR_H_ |
6 #define PPAPI_SHARED_IMPL_VAR_H_ | 6 #define PPAPI_SHARED_IMPL_VAR_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/memory/shared_memory.h" |
12 #include "base/platform_file.h" | 13 #include "base/platform_file.h" |
13 #include "base/shared_memory.h" | |
14 #include "ppapi/c/pp_var.h" | 14 #include "ppapi/c/pp_var.h" |
15 #include "ppapi/shared_impl/host_resource.h" | 15 #include "ppapi/shared_impl/host_resource.h" |
16 #include "ppapi/shared_impl/ppapi_shared_export.h" | 16 #include "ppapi/shared_impl/ppapi_shared_export.h" |
17 | 17 |
18 namespace ppapi { | 18 namespace ppapi { |
19 | 19 |
20 class ArrayBufferVar; | 20 class ArrayBufferVar; |
21 class ArrayVar; | 21 class ArrayVar; |
22 class DictionaryVar; | 22 class DictionaryVar; |
23 class NPObjectVar; | 23 class NPObjectVar; |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 // return NULL if the PP_Var is not of ArrayBuffer type. | 183 // return NULL if the PP_Var is not of ArrayBuffer type. |
184 static ArrayBufferVar* FromPPVar(PP_Var var); | 184 static ArrayBufferVar* FromPPVar(PP_Var var); |
185 | 185 |
186 private: | 186 private: |
187 DISALLOW_COPY_AND_ASSIGN(ArrayBufferVar); | 187 DISALLOW_COPY_AND_ASSIGN(ArrayBufferVar); |
188 }; | 188 }; |
189 | 189 |
190 } // namespace ppapi | 190 } // namespace ppapi |
191 | 191 |
192 #endif // PPAPI_SHARED_IMPL_VAR_H_ | 192 #endif // PPAPI_SHARED_IMPL_VAR_H_ |
OLD | NEW |