Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1562)

Unified Diff: ppapi/api/dev/ppb_directory_reader_dev.idl

Issue 12026008: Add ReadEntries interface for PPB_DirectoryReader (won't commit) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: run generator Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ppapi/c/dev/ppb_directory_reader_dev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/dev/ppb_directory_reader_dev.idl
diff --git a/ppapi/api/dev/ppb_directory_reader_dev.idl b/ppapi/api/dev/ppb_directory_reader_dev.idl
index 659ed0988f570753689fb88d62b071af62dfeeed..341d27a1b73e9d28a229ee88a0f4beb3b30cf3ea 100644
--- a/ppapi/api/dev/ppb_directory_reader_dev.idl
+++ b/ppapi/api/dev/ppb_directory_reader_dev.idl
@@ -8,7 +8,8 @@
*/
label Chrome {
- M13 = 0.5
+ M13 = 0.5,
+ M26 = 0.6
};
[assert_size(8)]
@@ -45,7 +46,24 @@ interface PPB_DirectoryReader_Dev {
// }
// core_funcs->ReleaseResource(reader);
//
+ [deprecate=0.6]
int32_t GetNextEntry([in] PP_Resource directory_reader,
[out] PP_DirectoryEntry_Dev entry,
[in] PP_CompletionCallback callback);
dmichael (off chromium) 2013/01/18 17:10:18 Since nobody is using this API right now, let's re
+
+ // Reads all entries in the directory.
+ //
+ // @param[in] directory_reader A <code>PP_Resource</code> corresponding to a
+ // directory reader resource.
+ // @param[in] output An output array which will receive
+ // <code>PP_DirectoryEntry_Dev</code> objects on success.
+ // @param[in] callback A <code>PP_CompletionCallback</code> to run on
+ // completion.
+ //
+ // @return An error code from <code>pp_errors.h</code>.
+ //
+ [version=0.6]
+ int32_t ReadEntries([in] PP_Resource directory_reader,
+ [in] PP_ArrayOutput output,
darin (slow to review) 2013/01/18 06:26:19 Most operating systems don't provide APIs like thi
+ [in] PP_CompletionCallback callback);
};
« no previous file with comments | « no previous file | ppapi/c/dev/ppb_directory_reader_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698