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