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

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
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; 18 struct PPB_FileChooser_Dev;
19 struct PPB_FileChooserTrusted; 19 struct PPB_FileChooserTrusted;
20 20
21 namespace ppapi { 21 namespace ppapi {
22 22
23 class HostResource; 23 class HostResource;
24 struct PPB_FileRef_CreateInfo; 24 struct PPB_FileRef_CreateInfo;
25 25
26 namespace proxy { 26 namespace proxy {
27 27
28 class SerializedVarReceiveInput;
29
30 class PPB_FileChooser_Proxy : public InterfaceProxy { 28 class PPB_FileChooser_Proxy : public InterfaceProxy {
31 public: 29 public:
32 PPB_FileChooser_Proxy(Dispatcher* dispatcher); 30 explicit PPB_FileChooser_Proxy(Dispatcher* dispatcher);
33 virtual ~PPB_FileChooser_Proxy(); 31 virtual ~PPB_FileChooser_Proxy();
34 32
35 static const Info* GetTrustedInfo(); 33 static const Info* GetTrustedInfo();
36 34
37 static PP_Resource CreateProxyResource( 35 static PP_Resource CreateProxyResource(
38 PP_Instance instance, 36 PP_Instance instance,
39 PP_FileChooserMode_Dev mode, 37 PP_FileChooserMode_Dev mode,
40 const char* accept_mime_types); 38 const char* accept_mime_types);
41 39
42 // InterfaceProxy implementation. 40 // InterfaceProxy implementation.
(...skipping 25 matching lines...) Expand all
68 pp::CompletionCallbackFactory<PPB_FileChooser_Proxy, 66 pp::CompletionCallbackFactory<PPB_FileChooser_Proxy,
69 ProxyNonThreadSafeRefCount> callback_factory_; 67 ProxyNonThreadSafeRefCount> callback_factory_;
70 68
71 DISALLOW_COPY_AND_ASSIGN(PPB_FileChooser_Proxy); 69 DISALLOW_COPY_AND_ASSIGN(PPB_FileChooser_Proxy);
72 }; 70 };
73 71
74 } // namespace proxy 72 } // namespace proxy
75 } // namespace ppapi 73 } // namespace ppapi
76 74
77 #endif // PPAPI_PROXY_PPB_FILE_CHOOSER_PROXY_H_ 75 #endif // PPAPI_PROXY_PPB_FILE_CHOOSER_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698