Index: ppapi/thunk/ppb_flash_api.h |
diff --git a/ppapi/thunk/ppb_flash_api.h b/ppapi/thunk/ppb_flash_api.h |
index b787e1d2336f319ae457f78e86d7edd5d392727a..fad06007a8a105f1d87fb099a6c77c0acabbf398 100644 |
--- a/ppapi/thunk/ppb_flash_api.h |
+++ b/ppapi/thunk/ppb_flash_api.h |
@@ -56,6 +56,40 @@ class PPAPI_THUNK_EXPORT PPB_Flash_API { |
virtual double GetLocalTimeZoneOffset(PP_Instance instance, PP_Time t) = 0; |
virtual PP_Bool IsRectTopmost(PP_Instance instance, const PP_Rect* rect) = 0; |
virtual PP_Var GetSetting(PP_Instance instance, PP_FlashSetting setting) = 0; |
+ |
+ // FlashFile_ModuleLocal. |
+ virtual bool CreateThreadAdapterForInstance(PP_Instance instance) = 0; |
+ virtual void ClearThreadAdapterForInstance(PP_Instance instance) = 0; |
+ virtual int32_t OpenFile(PP_Instance instance, |
+ const char* path, |
+ int32_t mode, |
+ PP_FileHandle* file) = 0; |
+ virtual int32_t RenameFile(PP_Instance instance, |
+ const char* path_from, |
+ const char* path_to) = 0; |
+ virtual int32_t DeleteFileOrDir(PP_Instance instance, |
+ const char* path, |
+ PP_Bool recursive) = 0; |
+ virtual int32_t CreateDir(PP_Instance instance, const char* path) = 0; |
+ virtual int32_t QueryFile(PP_Instance instance, |
+ const char* path, |
+ PP_FileInfo* info) = 0; |
+ virtual int32_t GetDirContents(PP_Instance instance, |
+ const char* path, |
+ PP_DirContents_Dev** contents) = 0; |
+ virtual void FreeDirContents(PP_Instance instance, |
+ PP_DirContents_Dev* contents) = 0; |
+ virtual int32_t CreateTemporaryFile(PP_Instance instance, |
+ PP_FileHandle* file) = 0; |
+ |
+ // FlashFile_FileRef. |
+ virtual int32_t OpenFileRef(PP_Instance instance, |
+ PP_Resource file_ref, |
+ int32_t mode, |
+ PP_FileHandle* file) = 0; |
+ virtual int32_t QueryFileRef(PP_Instance instance, |
+ PP_Resource file_ref, |
+ PP_FileInfo* info) = 0; |
}; |
} // namespace thunk |