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

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

Issue 2285393003: Add API to get a folder's size. (Closed)
Patch Set: Created 4 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_manager_private.idl
diff --git a/chrome/common/extensions/api/file_manager_private.idl b/chrome/common/extensions/api/file_manager_private.idl
index fef52e9315c013a05d6fff747551f23beb21ab54..1cd0cbb8829b769bd7ab463ff9c95a4a51de9bdb 100644
--- a/chrome/common/extensions/api/file_manager_private.idl
+++ b/chrome/common/extensions/api/file_manager_private.idl
@@ -969,6 +969,13 @@ interface Functions {
static void executeCustomAction([instanceof=Entry] object[] entries,
DOMString actionId,
SimpleCallback callback);
+
+ // Get the total size of a directory.
+ // |entry| Entry of the target directory.
+ // |callback|
+ [nocompile]
+ static void getDirectorySize([instanceof=DirectoryEntry] object entry,
+ SimpleCallback callback);
fukino 2016/08/30 05:17:06 We need to receive the directory size, so please d
harukam 2016/08/30 06:33:42 Acknowledged.
};
interface Events {

Powered by Google App Engine
This is Rietveld 408576698