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

Unified Diff: chrome/common/extensions/api/sync_file_system.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: chrome/common/extensions/api/sync_file_system.idl
diff --git a/chrome/common/extensions/api/sync_file_system.idl b/chrome/common/extensions/api/sync_file_system.idl
index 711625661e9148a4fc0794c453a4a8672ca718b9..f228cdf32ef5f1086de751e77ac6a4f804a24106 100644
--- a/chrome/common/extensions/api/sync_file_system.idl
+++ b/chrome/common/extensions/api/sync_file_system.idl
@@ -64,7 +64,7 @@ namespace syncFileSystem {
// On file deletion,
// <code>fileEntry</code> information will still be available
// but file will no longer exist.
- [instanceOf=Entry] object fileEntry;
+ [instanceOf=FileSystemEntry] object fileEntry;
// Resulting file status after $(ref:onFileStatusChanged) event.
// The status value can be <code>'synced'</code>,
@@ -85,8 +85,8 @@ namespace syncFileSystem {
};
dictionary FileStatusInfo {
- // One of the Entry's originally given to getFileStatuses.
- [instanceOf=Entry] object fileEntry;
+ // One of the FileSystemEntry's originally given to getFileStatuses.
+ [instanceOf=FileSystemEntry] object fileEntry;
// The status value can be <code>'synced'</code>,
// <code>'pending'</code> or <code>'conflicting'</code>.
@@ -109,7 +109,7 @@ namespace syncFileSystem {
// A callback type for requestFileSystem.
callback GetFileSystemCallback =
- void ([instanceOf=DOMFileSystem] object fileSystem);
+ void ([instanceOf=FileSystem] object fileSystem);
// A callback type for getUsageAndQuota.
callback QuotaAndUsageCallback = void (StorageInfo info);
@@ -135,7 +135,7 @@ namespace syncFileSystem {
interface Functions {
// Returns a syncable filesystem backed by Google Drive.
- // The returned <code>DOMFileSystem</code> instance can be operated on
+ // The returned <code>FileSystem</code> instance can be operated on
// in the same way as the Temporary and Persistant file systems (see
// <a href="http://dev.w3.org/2009/dap/file-system/file-dir-sys.html">
// http://dev.w3.org/2009/dap/file-system/file-dir-sys.html</a>).
@@ -166,7 +166,7 @@ namespace syncFileSystem {
// Returns the current usage and quota in bytes
// for the <code>'syncable'</code> file storage for the app.
- static void getUsageAndQuota([instanceOf=DOMFileSystem] object fileSystem,
+ static void getUsageAndQuota([instanceOf=FileSystem] object fileSystem,
QuotaAndUsageCallback callback);
// Returns the $(ref:FileStatus) for the given <code>fileEntry</code>.
@@ -174,7 +174,7 @@ namespace syncFileSystem {
// <code>'pending'</code> or <code>'conflicting'</code>.
// Note that <code>'conflicting'</code> state only happens when
// the service's conflict resolution policy is set to <code>'manual'</code>.
- static void getFileStatus([instanceOf=Entry] object fileEntry,
+ static void getFileStatus([instanceOf=FileSystemEntry] object fileEntry,
GetFileStatusCallback callback);
// Returns each $(ref:FileStatus) for the given <code>fileEntry</code> array.

Powered by Google App Engine
This is Rietveld 408576698