diff options
Diffstat (limited to 'ppapi/c')
| -rw-r--r-- | ppapi/c/dev/ppb_file_ref_dev.h | 10 | ||||
| -rw-r--r-- | ppapi/c/private/ppb_proxy_private.h | 7 |
2 files changed, 8 insertions, 9 deletions
diff --git a/ppapi/c/dev/ppb_file_ref_dev.h b/ppapi/c/dev/ppb_file_ref_dev.h index 0f74a7c..4799b34 100644 --- a/ppapi/c/dev/ppb_file_ref_dev.h +++ b/ppapi/c/dev/ppb_file_ref_dev.h @@ -5,13 +5,13 @@ #ifndef PPAPI_C_DEV_PPB_FILE_REF_DEV_H_ #define PPAPI_C_DEV_PPB_FILE_REF_DEV_H_ -#include "ppapi/c/pp_bool.h" #include "ppapi/c/dev/pp_file_info_dev.h" +#include "ppapi/c/pp_bool.h" #include "ppapi/c/pp_instance.h" #include "ppapi/c/pp_resource.h" #include "ppapi/c/pp_var.h" -#define PPB_FILEREF_DEV_INTERFACE "PPB_FileRef(Dev);0.5" +#define PPB_FILEREF_DEV_INTERFACE "PPB_FileRef(Dev);0.6" // A FileRef is a "weak pointer" to a file in a file system. It contains a // PP_FileSystemType identifier and a file path string. @@ -51,12 +51,6 @@ struct PPB_FileRef_Dev { PP_Bool make_ancestors, struct PP_CompletionCallback callback); - // Queries info about the file. You must have read access to this file if it - // exists in the external filesystem. - int32_t (*Query)(PP_Resource file_ref, - struct PP_FileInfo_Dev* info, - struct PP_CompletionCallback callback); - // Updates timestamps for a file. You must have write access to the file if // it exists in the external filesystem. int32_t (*Touch)(PP_Resource file_ref, diff --git a/ppapi/c/private/ppb_proxy_private.h b/ppapi/c/private/ppb_proxy_private.h index fc8341e..d003281 100644 --- a/ppapi/c/private/ppb_proxy_private.h +++ b/ppapi/c/private/ppb_proxy_private.h @@ -5,15 +5,20 @@ #ifndef PPAPI_C_PRIVATE_PROXY_PRIVATE_H_ #define PPAPI_C_PRIVATE_PROXY_PRIVATE_H_ +#include "ppapi/c/pp_instance.h" #include "ppapi/c/pp_module.h" +#include "ppapi/c/pp_resource.h" -#define PPB_PROXY_PRIVATE_INTERFACE "PPB_Proxy_Private;1" +#define PPB_PROXY_PRIVATE_INTERFACE "PPB_Proxy_Private;2" // Exposes functions needed by the out-of-process proxy to call into the // renderer PPAPI implementation. struct PPB_Proxy_Private { // Called when the given plugin process has crashed. void (*PluginCrashed)(PP_Module module); + + // Returns the instance for the given resource, or 0 on failure. + PP_Instance (*GetInstanceForResource)(PP_Resource resource); }; #endif // PPAPI_C_PRIVATE_PROXY_PRIVATE_H_ |
