OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
12 #include "base/hash_tables.h" | 12 #include "base/hash_tables.h" |
13 #include "base/memory/linked_ptr.h" | 13 #include "base/memory/linked_ptr.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "ppapi/c/pp_instance.h" | 16 #include "ppapi/c/pp_instance.h" |
17 #include "ppapi/c/pp_module.h" | |
18 #include "ppapi/c/pp_resource.h" | 17 #include "ppapi/c/pp_resource.h" |
19 #include "ppapi/shared_impl/function_group_base.h" | 18 #include "ppapi/shared_impl/function_group_base.h" |
20 #include "ppapi/shared_impl/resource_tracker.h" | 19 #include "ppapi/shared_impl/resource_tracker.h" |
21 #include "ppapi/shared_impl/var_tracker.h" | 20 #include "ppapi/shared_impl/var_tracker.h" |
22 #include "webkit/plugins/webkit_plugins_export.h" | 21 #include "webkit/plugins/webkit_plugins_export.h" |
23 | 22 |
24 typedef struct NPObject NPObject; | 23 typedef struct NPObject NPObject; |
25 | 24 |
26 namespace ppapi { | 25 namespace ppapi { |
27 class NPObjectVar; | 26 class NPObjectVar; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 InstanceMap; | 73 InstanceMap; |
75 InstanceMap instance_map_; | 74 InstanceMap instance_map_; |
76 | 75 |
77 DISALLOW_COPY_AND_ASSIGN(HostVarTracker); | 76 DISALLOW_COPY_AND_ASSIGN(HostVarTracker); |
78 }; | 77 }; |
79 | 78 |
80 } // namespace ppapi | 79 } // namespace ppapi |
81 } // namespace webkit | 80 } // namespace webkit |
82 | 81 |
83 #endif // WEBKIT_PLUGINS_PPAPI_HOST_VAR_TRACKER_H_ | 82 #endif // WEBKIT_PLUGINS_PPAPI_HOST_VAR_TRACKER_H_ |
OLD | NEW |