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

Unified Diff: chrome/common/extensions/api/file_manager_private.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
« no previous file with comments | « chrome/common/extensions/api/developer_private.idl ('k') | chrome/common/extensions/api/file_system.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/file_manager_private.idl
diff --git a/chrome/common/extensions/api/file_manager_private.idl b/chrome/common/extensions/api/file_manager_private.idl
index 58885267cdbad164605f38604ebb5c6619759b18..fa84777ec01ea3d1059b19d96e6364f5b7155898 100644
--- a/chrome/common/extensions/api/file_manager_private.idl
+++ b/chrome/common/extensions/api/file_manager_private.idl
@@ -459,7 +459,7 @@ dictionary FileWatchEvent {
// interface, see <a
// href='http://www.w3.org/TR/file-system-api/#the-entry-interface'>The Entry
// interface</a>.
- [instanceOf=Entry] object entry;
+ [instanceOf=FileSystemEntry] object entry;
// Detailed change information of change. It would be null if the detailed
// information is not available.
@@ -510,7 +510,7 @@ dictionary SearchResult {
// Entry interface, see <a
// href='http://www.w3.org/TR/file-system-api/#the-entry-interface'>The Entry
// interface</a>.
- [instanceOf=Entry] object entry;
+ [instanceOf=FileSystemEntry] object entry;
// The base name of a Drive file that matched the search query. The matched
// sub strings are highlighted with <b> element. Meta characters are escaped
@@ -614,7 +614,7 @@ callback GetPreferencesCallback = void(Preferences result);
// Should be sent to the next searchDrive request to perform
// incremental search.
callback SearchDriveCallback =
- void([instanceOf=Entry] object[] entries, DOMString nextFeed);
+ void([instanceOf=FileSystemEntry] object[] entries, DOMString nextFeed);
callback SearchDriveMetadataCallback = void(SearchResult[] results);
@@ -647,7 +647,7 @@ callback GetProfilesCallback = void(ProfileInfo[] profiles,
// |entries| External entries.
callback ResolveEntriesCallback =
- void([instanceOf=Entry] object[] entries);
+ void([instanceOf=FileSystemEntry] object[] entries);
// |checksum| Result checksum.
callback ComputeChecksumCallback = void(DOMString checksum);
@@ -762,7 +762,7 @@ interface Functions {
// which were not requested (if it's cheap to compute them).
[nocompile]
static void getEntryProperties(
- [instanceOf=Entry] object[] entries,
+ [instanceOf=FileSystemEntry] object[] entries,
EntryPropertyName[] names,
GetEntryPropertiesCallback callback);
@@ -782,7 +782,7 @@ interface Functions {
// corresponding entry does not appear in the result.
[nocompile]
static void resolveIsolatedEntries(
- [instanceOf=Entry] object[] entries,
+ [instanceOf=FileSystemEntry] object[] entries,
ResolveEntriesCallback callback);
// Mount a resource or a file.
@@ -818,7 +818,7 @@ interface Functions {
// |callback| Completion callback.
[nocompile]
static void startCopy([instanceof=Entry] object entry,
- [instanceof=DirectoryEntry] object parentEntry,
+ [instanceof=FileSystemDirectoryEntry] object parentEntry,
DOMString newName,
StartCopyCallback callback);
@@ -871,7 +871,7 @@ interface Functions {
// |callback|
// TODO(mtomasz): Swap order of |entries| and |parentEntry|.
[nocompile]
- static void zipSelection([instanceof=DirectoryEntry] object parentEntry,
+ static void zipSelection([instanceof=FileSystemDirectoryEntry] object parentEntry,
[instanceof=Entry] object[] entries,
DOMString destName,
ZipSelectionCallback callback);
@@ -886,7 +886,7 @@ interface Functions {
// |callback| Called back when the check is finished.
[nocompile]
static void validatePathNameLength(
- [instanceof=DirectoryEntry] object parentEntry,
+ [instanceof=FileSystemDirectoryEntry] object parentEntry,
DOMString name,
ValidatePathNameLengthCallback callback);
« no previous file with comments | « chrome/common/extensions/api/developer_private.idl ('k') | chrome/common/extensions/api/file_system.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698