OLD | NEW |
1 // Copyright (c) 2010 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_PPB_VAR_PROXY_H_ | 5 #ifndef PPAPI_PPB_VAR_PROXY_H_ |
6 #define PPAPI_PPB_VAR_PROXY_H_ | 6 #define PPAPI_PPB_VAR_PROXY_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
| 10 #include "base/task.h" |
10 #include "ppapi/c/pp_instance.h" | 11 #include "ppapi/c/pp_instance.h" |
11 #include "ppapi/proxy/interface_proxy.h" | 12 #include "ppapi/proxy/interface_proxy.h" |
12 | 13 |
13 struct PPB_Var_Deprecated; | 14 struct PPB_Var_Deprecated; |
14 | 15 |
15 namespace pp { | 16 namespace pp { |
16 namespace proxy { | 17 namespace proxy { |
17 | 18 |
18 class SerializedVar; | 19 class SerializedVar; |
19 class SerializedVarArray; | 20 class SerializedVarArray; |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 int64 ppp_class, | 86 int64 ppp_class, |
86 int64* ppp_class_data, | 87 int64* ppp_class_data, |
87 PP_Bool* result); | 88 PP_Bool* result); |
88 void OnMsgCreateObjectDeprecated(PP_Instance instance, | 89 void OnMsgCreateObjectDeprecated(PP_Instance instance, |
89 int64 ppp_class, | 90 int64 ppp_class, |
90 int64 ppp_class_data, | 91 int64 ppp_class_data, |
91 SerializedVarReturnValue result); | 92 SerializedVarReturnValue result); |
92 | 93 |
93 // Call in the host for messages that can be reentered. | 94 // Call in the host for messages that can be reentered. |
94 void SetAllowPluginReentrancy(); | 95 void SetAllowPluginReentrancy(); |
| 96 |
| 97 void DoReleaseObject(int64 object_id); |
| 98 ScopedRunnableMethodFactory<PPB_Var_Deprecated_Proxy> task_factory_; |
95 }; | 99 }; |
96 | 100 |
97 } // namespace proxy | 101 } // namespace proxy |
98 } // namespace pp | 102 } // namespace pp |
99 | 103 |
100 #endif // PPAPI_PPB_VAR_PROXY_H_ | 104 #endif // PPAPI_PPB_VAR_PROXY_H_ |
OLD | NEW |