Index: ppapi/c/ppb_file_ref.h |
diff --git a/ppapi/c/ppb_file_ref.h b/ppapi/c/ppb_file_ref.h |
index 910fd80fedbff3d1bc45fa10afb94d0e9d984edf..ce667ddb5e15ef6db4de051c800305b572e636ea 100644 |
--- a/ppapi/c/ppb_file_ref.h |
+++ b/ppapi/c/ppb_file_ref.h |
@@ -3,11 +3,12 @@ |
* found in the LICENSE file. |
*/ |
-/* From ppb_file_ref.idl modified Thu Mar 7 12:02:53 2013. */ |
+/* From ppb_file_ref.idl modified Wed May 1 10:06:13 2013. */ |
#ifndef PPAPI_C_PPB_FILE_REF_H_ |
#define PPAPI_C_PPB_FILE_REF_H_ |
+#include "ppapi/c/pp_array_output.h" |
#include "ppapi/c/pp_bool.h" |
#include "ppapi/c/pp_completion_callback.h" |
#include "ppapi/c/pp_file_info.h" |
@@ -194,6 +195,20 @@ struct PPB_FileRef_1_1 { |
int32_t (*Query)(PP_Resource file_ref, |
struct PP_FileInfo* info, |
struct PP_CompletionCallback callback); |
+ /* Reads all entries in a directory. |
+ * |
+ * @param[in] file_ref A <code>PP_Resource</code> corresponding to a directory |
+ * reference. |
+ * @param[in] output An output array which will receive |
+ * <code>PP_DirectoryEntry</code> objects on success. |
+ * @param[in] callback A <code>PP_CompletionCallback</code> to run on |
+ * completion. |
+ * |
+ * @return An int32_t containing an error code from <code>pp_errors.h</code>. |
+ */ |
+ int32_t (*ReadEntries)(PP_Resource file_ref, |
+ struct PP_ArrayOutput output, |
+ struct PP_CompletionCallback callback); |
}; |
typedef struct PPB_FileRef_1_1 PPB_FileRef; |