| Index: ppapi/proxy/plugin_proxy_delegate.h
|
| ===================================================================
|
| --- ppapi/proxy/plugin_proxy_delegate.h (revision 138610)
|
| +++ ppapi/proxy/plugin_proxy_delegate.h (working copy)
|
| @@ -5,6 +5,9 @@
|
| #ifndef PPAPI_PROXY_PLUGIN_PROXY_DELEGATE_H_
|
| #define PPAPI_PROXY_PLUGIN_PROXY_DELEGATE_H_
|
|
|
| +#include "ppapi/c/pp_file_info.h"
|
| +#include "ppapi/c/private/ppb_flash_file.h"
|
| +
|
| namespace ppapi {
|
| namespace proxy {
|
|
|
| @@ -16,6 +19,25 @@
|
| // IPC::Message::Sender interface.
|
| virtual bool SendToBrowser(IPC::Message* msg) = 0;
|
|
|
| + // Send flash file messages to the browser, converting between PPAPI types
|
| + // and the equivalent platform types.
|
| + virtual int32_t SendOpenFileRequestToBrowser(
|
| + const char* path, int32_t mode, PP_FileHandle* file) = 0;
|
| +
|
| + virtual int32_t SendRenameFileRequestToBrowser(
|
| + const char* from_path, const char* to_path) = 0;
|
| +
|
| + virtual int32_t SendDeleteFileOrDirRequestToBrowser(
|
| + const char* path, PP_Bool recursive) = 0;
|
| +
|
| + virtual int32_t SendCreateDirRequestToBrowser(const char* path) = 0;
|
| +
|
| + virtual int32_t SendQueryFileRequestToBrowser(
|
| + const char* path, PP_FileInfo* info) = 0;
|
| +
|
| + virtual int32_t SendGetDirContentsRequestToBrowser(
|
| + const char* path, PP_DirContents_Dev** contents) = 0;
|
| +
|
| // Performs Windows-specific font caching in the browser for the given
|
| // LOGFONTW. Does nothing on non-Windows platforms.
|
| virtual void PreCacheFont(const void* logfontw) = 0;
|
|
|