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 PPAPI_PROXY_PLUGIN_VAR_TRACKER_H_ | 5 #ifndef PPAPI_PROXY_PLUGIN_VAR_TRACKER_H_ |
6 #define PPAPI_PROXY_PLUGIN_VAR_TRACKER_H_ | 6 #define PPAPI_PROXY_PLUGIN_VAR_TRACKER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "ppapi/c/pp_stdint.h" | 14 #include "ppapi/c/pp_stdint.h" |
15 #include "ppapi/c/pp_var.h" | 15 #include "ppapi/c/pp_var.h" |
16 #include "ppapi/proxy/ppapi_proxy_export.h" | 16 #include "ppapi/proxy/ppapi_proxy_export.h" |
17 #include "ppapi/shared_impl/var_tracker.h" | 17 #include "ppapi/shared_impl/var_tracker.h" |
18 | 18 |
19 struct PPB_Var; | |
20 | |
21 template<typename T> struct DefaultSingletonTraits; | 19 template<typename T> struct DefaultSingletonTraits; |
22 | 20 |
23 namespace ppapi { | 21 namespace ppapi { |
24 | 22 |
25 class ProxyObjectVar; | 23 class ProxyObjectVar; |
26 | 24 |
27 namespace proxy { | 25 namespace proxy { |
28 | 26 |
29 class PluginDispatcher; | 27 class PluginDispatcher; |
30 | 28 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 typedef std::map<HostVar, int32> HostVarToPluginVarMap; | 111 typedef std::map<HostVar, int32> HostVarToPluginVarMap; |
114 HostVarToPluginVarMap host_var_to_plugin_var_; | 112 HostVarToPluginVarMap host_var_to_plugin_var_; |
115 | 113 |
116 DISALLOW_COPY_AND_ASSIGN(PluginVarTracker); | 114 DISALLOW_COPY_AND_ASSIGN(PluginVarTracker); |
117 }; | 115 }; |
118 | 116 |
119 } // namespace proxy | 117 } // namespace proxy |
120 } // namespace ppapi | 118 } // namespace ppapi |
121 | 119 |
122 #endif // PPAPI_PROXY_PLUGIN_VAR_TRACKER_H_ | 120 #endif // PPAPI_PROXY_PLUGIN_VAR_TRACKER_H_ |
OLD | NEW |