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

Unified Diff: third_party/WebKit/Source/modules/filesystem/FileSystemDirectoryReader.idl

Issue 2297043002: Web expose FileSystemFileEntry, FileSystemDirectoryEntry and friends (Closed)
Patch Set: Rebased Created 4 years, 1 month 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
Index: third_party/WebKit/Source/modules/filesystem/FileSystemDirectoryReader.idl
diff --git a/third_party/WebKit/Source/modules/filesystem/EntriesCallback.idl b/third_party/WebKit/Source/modules/filesystem/FileSystemDirectoryReader.idl
similarity index 88%
rename from third_party/WebKit/Source/modules/filesystem/EntriesCallback.idl
rename to third_party/WebKit/Source/modules/filesystem/FileSystemDirectoryReader.idl
index 4feb15c4d1e624a8278a2bae31f862d9df7c45ad..ed7c4f5c31dcab6116c9909fda6b04252b545971 100644
--- a/third_party/WebKit/Source/modules/filesystem/EntriesCallback.idl
+++ b/third_party/WebKit/Source/modules/filesystem/FileSystemDirectoryReader.idl
@@ -28,6 +28,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-callback interface EntriesCallback {
- void handleEvent(sequence<Entry> entries);
+// https://wicg.github.io/entries-api/#api-directoryreader
+interface FileSystemDirectoryReader {
+ void readEntries(FileSystemEntriesCallback successCallback, optional ErrorCallback errorCallback);
};

Powered by Google App Engine
This is Rietveld 408576698