Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(889)

Side by Side Diff: ppapi/proxy/ppb_var_deprecated_proxy.h

Issue 26308002: Fix some WeakPtrFactory members that aren't last (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix weak ptr initialization Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/ppb_image_data_proxy.cc ('k') | ppapi/proxy/ppb_var_deprecated_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_image_data_proxy.cc ('k') | ppapi/proxy/ppb_var_deprecated_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698