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

Unified Diff: third_party/WebKit/Source/modules/filesystem/FileSystemFileEntry.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/FileSystemFileEntry.idl
diff --git a/third_party/WebKit/Source/modules/filesystem/FileEntry.idl b/third_party/WebKit/Source/modules/filesystem/FileSystemFileEntry.idl
similarity index 91%
rename from third_party/WebKit/Source/modules/filesystem/FileEntry.idl
rename to third_party/WebKit/Source/modules/filesystem/FileSystemFileEntry.idl
index a8382ea8a5257ff16472d23630701495771be565..2b66893f349140deaca016b1ae72f61932966d59 100644
--- a/third_party/WebKit/Source/modules/filesystem/FileEntry.idl
+++ b/third_party/WebKit/Source/modules/filesystem/FileSystemFileEntry.idl
@@ -28,9 +28,10 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-[
- NoInterfaceObject
-] interface FileEntry : Entry {
- void createWriter(FileWriterCallback successCallback, optional ErrorCallback errorCallback);
+// https://wicg.github.io/entries-api/#api-fileentry
+interface FileSystemFileEntry : FileSystemEntry {
void file(BlobCallback successCallback, optional ErrorCallback errorCallback);
+
+ // TODO(jsbell): Only expose in non-isolated file systems.
+ void createWriter(FileWriterCallback successCallback, optional ErrorCallback errorCallback);
};

Powered by Google App Engine
This is Rietveld 408576698