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_PPB_VAR_DEPRECATED_PROXY_H_ | 5 #ifndef PPAPI_PROXY_PPB_VAR_DEPRECATED_PROXY_H_ |
6 #define PPAPI_PROXY_PPB_VAR_DEPRECATED_PROXY_H_ | 6 #define PPAPI_PROXY_PPB_VAR_DEPRECATED_PROXY_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 PP_Bool* result); | 82 PP_Bool* result); |
83 void OnMsgCreateObjectDeprecated(PP_Instance instance, | 83 void OnMsgCreateObjectDeprecated(PP_Instance instance, |
84 int64 ppp_class, | 84 int64 ppp_class, |
85 int64 ppp_class_data, | 85 int64 ppp_class_data, |
86 SerializedVarReturnValue result); | 86 SerializedVarReturnValue result); |
87 | 87 |
88 // Call in the host for messages that can be reentered. | 88 // Call in the host for messages that can be reentered. |
89 void SetAllowPluginReentrancy(); | 89 void SetAllowPluginReentrancy(); |
90 | 90 |
91 void DoReleaseObject(int64 object_id); | 91 void DoReleaseObject(int64 object_id); |
92 base::WeakPtrFactory<PPB_Var_Deprecated_Proxy> task_factory_; | |
93 | 92 |
94 const PPB_Var_Deprecated* ppb_var_impl_; | 93 const PPB_Var_Deprecated* ppb_var_impl_; |
95 | 94 |
| 95 base::WeakPtrFactory<PPB_Var_Deprecated_Proxy> task_factory_; |
| 96 |
96 DISALLOW_COPY_AND_ASSIGN(PPB_Var_Deprecated_Proxy); | 97 DISALLOW_COPY_AND_ASSIGN(PPB_Var_Deprecated_Proxy); |
97 }; | 98 }; |
98 | 99 |
99 } // namespace proxy | 100 } // namespace proxy |
100 } // namespace ppapi | 101 } // namespace ppapi |
101 | 102 |
102 #endif // PPAPI_PROXY_PPB_VAR_DEPRECATED_PROXY_H_ | 103 #endif // PPAPI_PROXY_PPB_VAR_DEPRECATED_PROXY_H_ |
OLD | NEW |