Index: ppapi/proxy/ppapi_messages.h |
diff --git a/ppapi/proxy/ppapi_messages.h b/ppapi/proxy/ppapi_messages.h |
index 73474379c4cea1ef4dec521b889b1f35b6cdf7a8..3b60da1da2e7b02b8d2de271c37de356efa09ee5 100644 |
--- a/ppapi/proxy/ppapi_messages.h |
+++ b/ppapi/proxy/ppapi_messages.h |
@@ -20,6 +20,7 @@ |
#include "ipc/ipc_platform_file.h" |
#include "ppapi/c/dev/pp_video_capture_dev.h" |
#include "ppapi/c/dev/pp_video_dev.h" |
+#include "ppapi/c/dev/ppb_directory_reader_dev.h" |
#include "ppapi/c/dev/ppb_text_input_dev.h" |
#include "ppapi/c/dev/ppb_url_util_dev.h" |
#include "ppapi/c/dev/ppp_printing_dev.h" |
@@ -69,6 +70,7 @@ |
IPC_ENUM_TRAITS(PP_AudioSampleRate) |
IPC_ENUM_TRAITS(PP_DeviceType_Dev) |
IPC_ENUM_TRAITS(PP_DecryptorStreamType) |
+IPC_ENUM_TRAITS(PP_FileType) |
IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_Permission) |
IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_SettingType) |
IPC_ENUM_TRAITS(PP_FlashSetting) |
@@ -1324,6 +1326,15 @@ IPC_MESSAGE_CONTROL0(PpapiHostMsg_Broker_Create) |
// ResourceMessageReplyParams in the reply message. |
IPC_MESSAGE_CONTROL0(PpapiHostMsg_Broker_IsAllowed) |
+// Directory reader. |
+IPC_MESSAGE_CONTROL0(PpapiHostMsg_DirectoryReader_Create) |
+IPC_MESSAGE_CONTROL1(PpapiHostMsg_DirectoryReader_GetEntries, |
+ ppapi::HostResource /* file_ref_resource */) |
+IPC_MESSAGE_CONTROL3(PpapiPluginMsg_DirectoryReader_GetEntriesReply, |
+ std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */, |
+ std::vector<PP_FileType> /* file_types */, |
+ bool /* has_more */) |
+ |
// File chooser. |
IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) |
IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, |