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

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

Issue 8527020: Cleanup: Remove unneeded forward declarations in ppapi. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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_video_capture_proxy.h ('k') | ppapi/proxy/ppp_instance_proxy.h » ('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_PPP_CLASS_PROXY_H_ 5 #ifndef PPAPI_PROXY_PPP_CLASS_PROXY_H_
6 #define PPAPI_PROXY_PPP_CLASS_PROXY_H_ 6 #define PPAPI_PROXY_PPP_CLASS_PROXY_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "ppapi/c/pp_module.h" 11 #include "ppapi/c/pp_module.h"
12 #include "ppapi/c/pp_var.h" 12 #include "ppapi/c/pp_var.h"
13 #include "ppapi/proxy/interface_proxy.h" 13 #include "ppapi/proxy/interface_proxy.h"
14 14
15 struct PPB_Var_Deprecated; 15 struct PPB_Var_Deprecated;
16 struct PPP_Class_Deprecated;
17 16
18 namespace ppapi { 17 namespace ppapi {
19 namespace proxy { 18 namespace proxy {
20 19
21 class SerializedVar; 20 class SerializedVar;
22 class SerializedVarReceiveInput; 21 class SerializedVarReceiveInput;
23 class SerializedVarVectorReceiveInput; 22 class SerializedVarVectorReceiveInput;
24 class SerializedVarOutParam; 23 class SerializedVarOutParam;
25 class SerializedVarReturnValue; 24 class SerializedVarReturnValue;
26 25
27 class PPP_Class_Proxy : public InterfaceProxy { 26 class PPP_Class_Proxy : public InterfaceProxy {
28 public: 27 public:
29 // PPP_Class isn't a normal interface that you can query for, so this 28 // PPP_Class isn't a normal interface that you can query for, so this
30 // constructor doesn't take an interface pointer. 29 // constructor doesn't take an interface pointer.
31 PPP_Class_Proxy(Dispatcher* dispatcher); 30 explicit PPP_Class_Proxy(Dispatcher* dispatcher);
32 virtual ~PPP_Class_Proxy(); 31 virtual ~PPP_Class_Proxy();
33 32
34 // Factory function used for registration (normal code can just use the 33 // Factory function used for registration (normal code can just use the
35 // constructor). 34 // constructor).
36 static InterfaceProxy* Create(Dispatcher* dispatcher); 35 static InterfaceProxy* Create(Dispatcher* dispatcher);
37 36
38 // Creates a proxied object in the browser process. This takes the browser's 37 // Creates a proxied object in the browser process. This takes the browser's
39 // PPB_Var_Deprecated interface to use to create the object. The class and 38 // PPB_Var_Deprecated interface to use to create the object. The class and
40 static PP_Var CreateProxiedObject(const PPB_Var_Deprecated* var, 39 static PP_Var CreateProxiedObject(const PPB_Var_Deprecated* var,
41 Dispatcher* dispatcher, 40 Dispatcher* dispatcher,
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 SerializedVarReturnValue result); 86 SerializedVarReturnValue result);
88 void OnMsgDeallocate(int64 ppp_class, int64 object); 87 void OnMsgDeallocate(int64 ppp_class, int64 object);
89 88
90 DISALLOW_COPY_AND_ASSIGN(PPP_Class_Proxy); 89 DISALLOW_COPY_AND_ASSIGN(PPP_Class_Proxy);
91 }; 90 };
92 91
93 } // namespace proxy 92 } // namespace proxy
94 } // namespace ppapi 93 } // namespace ppapi
95 94
96 #endif // PPAPI_PROXY_PPP_CLASS_PROXY_H_ 95 #endif // PPAPI_PROXY_PPP_CLASS_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_video_capture_proxy.h ('k') | ppapi/proxy/ppp_instance_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698