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 WEBKIT_PLUGINS_PPAPI_HOST_VAR_TRACKER_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_HOST_VAR_TRACKER_H_ |
6 #define WEBKIT_PLUGINS_PPAPI_HOST_VAR_TRACKER_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_HOST_VAR_TRACKER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
13 #include "base/hash_tables.h" | 13 #include "base/hash_tables.h" |
14 #include "base/memory/linked_ptr.h" | 14 #include "base/memory/linked_ptr.h" |
15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
18 #include "ppapi/c/pp_instance.h" | 18 #include "ppapi/c/pp_instance.h" |
19 #include "ppapi/c/pp_resource.h" | 19 #include "ppapi/c/pp_resource.h" |
20 #include "ppapi/shared_impl/function_group_base.h" | |
21 #include "ppapi/shared_impl/resource_tracker.h" | 20 #include "ppapi/shared_impl/resource_tracker.h" |
22 #include "ppapi/shared_impl/var_tracker.h" | 21 #include "ppapi/shared_impl/var_tracker.h" |
23 #include "webkit/plugins/webkit_plugins_export.h" | 22 #include "webkit/plugins/webkit_plugins_export.h" |
24 | 23 |
25 typedef struct NPObject NPObject; | 24 typedef struct NPObject NPObject; |
26 | 25 |
27 namespace ppapi { | 26 namespace ppapi { |
28 class ArrayBufferVar; | 27 class ArrayBufferVar; |
29 class NPObjectVar; | 28 class NPObjectVar; |
30 class Var; | 29 class Var; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 InstanceMap; | 84 InstanceMap; |
86 InstanceMap instance_map_; | 85 InstanceMap instance_map_; |
87 | 86 |
88 DISALLOW_COPY_AND_ASSIGN(HostVarTracker); | 87 DISALLOW_COPY_AND_ASSIGN(HostVarTracker); |
89 }; | 88 }; |
90 | 89 |
91 } // namespace ppapi | 90 } // namespace ppapi |
92 } // namespace webkit | 91 } // namespace webkit |
93 | 92 |
94 #endif // WEBKIT_PLUGINS_PPAPI_HOST_VAR_TRACKER_H_ | 93 #endif // WEBKIT_PLUGINS_PPAPI_HOST_VAR_TRACKER_H_ |
OLD | NEW |