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/containers/hash_tables.h" |
12 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.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 "ppapi/c/pp_instance.h" | 16 #include "ppapi/c/pp_instance.h" |
17 #include "ppapi/shared_impl/host_resource.h" | 17 #include "ppapi/shared_impl/host_resource.h" |
18 #include "ppapi/shared_impl/resource_tracker.h" | 18 #include "ppapi/shared_impl/resource_tracker.h" |
19 #include "ppapi/shared_impl/var_tracker.h" | 19 #include "ppapi/shared_impl/var_tracker.h" |
20 #include "webkit/plugins/webkit_plugins_export.h" | 20 #include "webkit/plugins/webkit_plugins_export.h" |
21 | 21 |
22 typedef struct NPObject NPObject; | 22 typedef struct NPObject NPObject; |
23 | 23 |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 SharedMemoryMap shared_memory_map_; | 101 SharedMemoryMap shared_memory_map_; |
102 uint32_t last_shared_memory_map_id_; | 102 uint32_t last_shared_memory_map_id_; |
103 | 103 |
104 DISALLOW_COPY_AND_ASSIGN(HostVarTracker); | 104 DISALLOW_COPY_AND_ASSIGN(HostVarTracker); |
105 }; | 105 }; |
106 | 106 |
107 } // namespace ppapi | 107 } // namespace ppapi |
108 } // namespace webkit | 108 } // namespace webkit |
109 | 109 |
110 #endif // WEBKIT_PLUGINS_PPAPI_HOST_VAR_TRACKER_H_ | 110 #endif // WEBKIT_PLUGINS_PPAPI_HOST_VAR_TRACKER_H_ |
OLD | NEW |