summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/ppb_file_chooser_proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/proxy/ppb_file_chooser_proxy.h')
-rw-r--r--ppapi/proxy/ppb_file_chooser_proxy.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/ppapi/proxy/ppb_file_chooser_proxy.h b/ppapi/proxy/ppb_file_chooser_proxy.h
index 4f3bc84..f1dcd95 100644
--- a/ppapi/proxy/ppb_file_chooser_proxy.h
+++ b/ppapi/proxy/ppb_file_chooser_proxy.h
@@ -28,24 +28,19 @@ class SerializedVarReceiveInput;
class PPB_FileChooser_Proxy : public InterfaceProxy {
public:
- PPB_FileChooser_Proxy(Dispatcher* dispatcher, const void* target_interface);
+ PPB_FileChooser_Proxy(Dispatcher* dispatcher);
virtual ~PPB_FileChooser_Proxy();
- static const Info* GetInfo();
- static const Info* GetInfo0_4();
-
static PP_Resource CreateProxyResource(
PP_Instance instance,
PP_FileChooserMode_Dev mode,
const PP_Var& accept_mime_types);
- const PPB_FileChooser_Dev* ppb_file_chooser_target() const {
- return static_cast<const PPB_FileChooser_Dev*>(target_interface());
- }
-
// InterfaceProxy implementation.
virtual bool OnMessageReceived(const IPC::Message& msg);
+ static const InterfaceID kInterfaceID = INTERFACE_ID_PPB_FILE_CHOOSER;
+
private:
// Plugin -> host message handlers.
void OnMsgCreate(PP_Instance instance,