Index: ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c |
diff --git a/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c b/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c |
index 04b4d3e46e3d050c417ebe659923d7831c1af9ab..827375f9ab6723cc9e078961f6c64c1364f1a1e0 100644 |
--- a/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c |
+++ b/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c |
@@ -80,6 +80,7 @@ |
#include "ppapi/c/ppp_messaging.h" |
#include "ppapi/c/ppp_mouse_lock.h" |
#include "ppapi/c/private/ppb_content_decryptor_private.h" |
+#include "ppapi/c/private/ppb_ext_crx_file_system_private.h" |
#include "ppapi/c/private/ppb_file_io_private.h" |
#include "ppapi/c/private/ppb_file_ref_private.h" |
#include "ppapi/c/private/ppb_flash.h" |
@@ -242,6 +243,7 @@ static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_11; |
static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Widget_Dev_0_2; |
static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Zoom_Dev_0_3; |
static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_6; |
+static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1; |
static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Private_0_1; |
static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1; |
static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4; |
@@ -2638,6 +2640,16 @@ void Pnacl_M24_PPB_ContentDecryptor_Private_DeliverSamples(PP_Instance instance, |
/* End wrapper methods for PPB_ContentDecryptor_Private_0_6 */ |
+/* Begin wrapper methods for PPB_Ext_CrxFileSystem_Private_0_1 */ |
+ |
+static __attribute__((pnaclcall)) |
+int32_t Pnacl_M28_PPB_Ext_CrxFileSystem_Private_Open(PP_Instance instance, PP_Resource* file_system, struct PP_CompletionCallback callback) { |
+ const struct PPB_Ext_CrxFileSystem_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1.real_iface; |
+ return iface->Open(instance, file_system, callback); |
+} |
+ |
+/* End wrapper methods for PPB_Ext_CrxFileSystem_Private_0_1 */ |
+ |
/* Begin wrapper methods for PPB_FileIO_Private_0_1 */ |
static __attribute__((pnaclcall)) |
@@ -4713,6 +4725,10 @@ struct PPB_ContentDecryptor_Private_0_6 Pnacl_Wrappers_PPB_ContentDecryptor_Priv |
.DeliverSamples = (void (*)(PP_Instance instance, PP_Resource audio_frames, const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M24_PPB_ContentDecryptor_Private_DeliverSamples |
}; |
+struct PPB_Ext_CrxFileSystem_Private_0_1 Pnacl_Wrappers_PPB_Ext_CrxFileSystem_Private_0_1 = { |
+ .Open = (int32_t (*)(PP_Instance instance, PP_Resource* file_system, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_CrxFileSystem_Private_Open |
+}; |
+ |
struct PPB_FileIO_Private_0_1 Pnacl_Wrappers_PPB_FileIO_Private_0_1 = { |
.RequestOSFileHandle = (int32_t (*)(PP_Resource file_io, PP_FileHandle* handle, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileIO_Private_RequestOSFileHandle |
}; |
@@ -5690,6 +5706,12 @@ static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ |
.real_iface = NULL |
}; |
+static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1 = { |
+ .iface_macro = PPB_EXT_CRXFILESYSTEM_PRIVATE_INTERFACE_0_1, |
+ .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Ext_CrxFileSystem_Private_0_1, |
+ .real_iface = NULL |
+}; |
+ |
static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Private_0_1 = { |
.iface_macro = PPB_FILEIO_PRIVATE_INTERFACE_0_1, |
.wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileIO_Private_0_1, |
@@ -6032,6 +6054,7 @@ static struct __PnaclWrapperInfo *s_ppb_wrappers[] = { |
&Pnacl_WrapperInfo_PPB_Widget_Dev_0_4, |
&Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2, |
&Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_6, |
+ &Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1, |
&Pnacl_WrapperInfo_PPB_FileIO_Private_0_1, |
&Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1, |
&Pnacl_WrapperInfo_PPB_Flash_12_4, |