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

Unified Diff: chrome/common/extensions/api/file_browser_private.idl

Issue 515033002: [fsp] Generalize fileBrowserPrivate.getEntryProperties(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 6 years, 4 months 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/file_browser_private.idl
diff --git a/chrome/common/extensions/api/file_browser_private.idl b/chrome/common/extensions/api/file_browser_private.idl
index b6fb84bdc8e4f9a5a08d08b192d766e43dd4d67b..8c77ff6780465df9b4618ef413def460ceed2653 100644
--- a/chrome/common/extensions/api/file_browser_private.idl
+++ b/chrome/common/extensions/api/file_browser_private.idl
@@ -173,8 +173,8 @@ dictionary FileTask {
boolean isDefault;
};
-// Drive file properties.
-dictionary DriveEntryProperties {
+// Additional entry properties.
+dictionary EntryProperties {
// Size of this file.
double? fileSize;
@@ -471,12 +471,13 @@ callback AddFileWatchCallback = void(optional boolean success);
callback RemoveFileWatchCallback = void(optional boolean success);
// |fileSystem| A DOMFileSystem instance for local file system access. null if
-// |the caller has no appropriate permissions.
+// the caller has no appropriate permissions.
callback RequestFileSystemCallback = void(optional object fileSystem);
-// |fileProperties| A dictionary containing properties of the requested entries.
-callback GetDriveEntryPropertiesCallback =
- void(DriveEntryProperties[] entryProperties);
+// |entryProperties| A dictionary containing properties of the requested
+// entries.
+callback GetEntryPropertiesCallback =
+ void(EntryProperties[] entryProperties);
// |localFilePaths| An array of the local file paths for the requested files,
// one entry for each file in fileUrls.
@@ -622,12 +623,12 @@ interface Functions {
boolean shouldReturnLocalPath,
SimpleCallback callback);
- // Requests Drive file properties for files.
+ // Requests additional properties for files.
// |fileUrls| list of URLs of files
// |callback|
- static void getDriveEntryProperties(
+ static void getEntryProperties(
DOMString[] fileUrls,
- GetDriveEntryPropertiesCallback callback);
+ GetEntryPropertiesCallback callback);
// Pins/unpins a Drive file in the cache.
// |fileUrl| URL of a file to pin/unpin.

Powered by Google App Engine
This is Rietveld 408576698