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

Unified Diff: third_party/WebKit/Source/modules/filesystem/FileSystemEntryCallback.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/FileSystemEntryCallback.idl
diff --git a/third_party/WebKit/Source/modules/filesystem/DirectoryReader.idl b/third_party/WebKit/Source/modules/filesystem/FileSystemEntryCallback.idl
similarity index 90%
rename from third_party/WebKit/Source/modules/filesystem/DirectoryReader.idl
rename to third_party/WebKit/Source/modules/filesystem/FileSystemEntryCallback.idl
index 46ce6efafa1dfc2cf3e317bb5e8d660883db2680..9dbefd827be9ab7c7d62ffab03878fab2ac50b3f 100644
--- a/third_party/WebKit/Source/modules/filesystem/DirectoryReader.idl
+++ b/third_party/WebKit/Source/modules/filesystem/FileSystemEntryCallback.idl
@@ -28,8 +28,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-[
- NoInterfaceObject,
-] interface DirectoryReader {
- void readEntries(EntriesCallback successCallback, optional ErrorCallback errorCallback);
+// https://wicg.github.io/entries-api/#callbackdef-entrycallback
+callback interface FileSystemEntryCallback {
+ void handleEvent(FileSystemEntry entry);
};

Powered by Google App Engine
This is Rietveld 408576698