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

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: Fixed JS files. 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 91e0d1cd3ede323e5671927fddef9bc6a4e0dc93..a960f948315c3e34cd4e4a9c00f428f586c74f2e 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;
@@ -478,8 +478,8 @@ callback RemoveFileWatchCallback = void(optional boolean success);
callback RequestFileSystemCallback = void(optional object fileSystem);
// |fileProperties| A dictionary containing properties of the requested entries.
yoshiki 2014/08/28 03:12:39 nit: fileProperies -> entryProperties
mtomasz 2014/08/28 05:18:51 Done.
-callback GetDriveEntryPropertiesCallback =
- void(DriveEntryProperties[] entryProperties);
+callback GetEntryPropertiesCallback =
+ void(EntryProperties[] entryProperties);
// |localFilePaths| An array of the local file paths for the requested files,
// one entry for each file in fileUrls.
@@ -625,12 +625,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