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

Side by Side Diff: ppapi/proxy/ppb_file_chooser_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_cursor_control_proxy.h ('k') | ppapi/proxy/ppb_file_ref_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_PPB_FILE_CHOOSER_PROXY_H_ 5 #ifndef PPAPI_PROXY_PPB_FILE_CHOOSER_PROXY_H_
6 #define PPAPI_PROXY_PPB_FILE_CHOOSER_PROXY_H_ 6 #define PPAPI_PROXY_PPB_FILE_CHOOSER_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "ppapi/c/pp_instance.h" 12 #include "ppapi/c/pp_instance.h"
13 #include "ppapi/cpp/completion_callback.h" 13 #include "ppapi/cpp/completion_callback.h"
14 #include "ppapi/proxy/interface_proxy.h" 14 #include "ppapi/proxy/interface_proxy.h"
15 #include "ppapi/proxy/proxy_non_thread_safe_ref_count.h" 15 #include "ppapi/proxy/proxy_non_thread_safe_ref_count.h"
16 #include "ppapi/thunk/ppb_file_chooser_api.h" 16 #include "ppapi/thunk/ppb_file_chooser_api.h"
17 17
18 struct PPB_FileChooser_Dev;
19 struct PPB_FileChooserTrusted;
20
21 namespace ppapi { 18 namespace ppapi {
22 19
23 class HostResource; 20 class HostResource;
24 struct PPB_FileRef_CreateInfo; 21 struct PPB_FileRef_CreateInfo;
25 22
26 namespace proxy { 23 namespace proxy {
27 24
28 class SerializedVarReceiveInput;
29
30 class PPB_FileChooser_Proxy : public InterfaceProxy { 25 class PPB_FileChooser_Proxy : public InterfaceProxy {
31 public: 26 public:
32 PPB_FileChooser_Proxy(Dispatcher* dispatcher); 27 explicit PPB_FileChooser_Proxy(Dispatcher* dispatcher);
33 virtual ~PPB_FileChooser_Proxy(); 28 virtual ~PPB_FileChooser_Proxy();
34 29
35 static const Info* GetTrustedInfo(); 30 static const Info* GetTrustedInfo();
36 31
37 static PP_Resource CreateProxyResource( 32 static PP_Resource CreateProxyResource(
38 PP_Instance instance, 33 PP_Instance instance,
39 PP_FileChooserMode_Dev mode, 34 PP_FileChooserMode_Dev mode,
40 const char* accept_mime_types); 35 const char* accept_mime_types);
41 36
42 // InterfaceProxy implementation. 37 // InterfaceProxy implementation.
(...skipping 25 matching lines...) Expand all
68 pp::CompletionCallbackFactory<PPB_FileChooser_Proxy, 63 pp::CompletionCallbackFactory<PPB_FileChooser_Proxy,
69 ProxyNonThreadSafeRefCount> callback_factory_; 64 ProxyNonThreadSafeRefCount> callback_factory_;
70 65
71 DISALLOW_COPY_AND_ASSIGN(PPB_FileChooser_Proxy); 66 DISALLOW_COPY_AND_ASSIGN(PPB_FileChooser_Proxy);
72 }; 67 };
73 68
74 } // namespace proxy 69 } // namespace proxy
75 } // namespace ppapi 70 } // namespace ppapi
76 71
77 #endif // PPAPI_PROXY_PPB_FILE_CHOOSER_PROXY_H_ 72 #endif // PPAPI_PROXY_PPB_FILE_CHOOSER_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_cursor_control_proxy.h ('k') | ppapi/proxy/ppb_file_ref_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698