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

Unified Diff: third_party/closure_compiler/externs/file_manager_private.js

Issue 2285393003: Add API to get a folder's size. (Closed)
Patch Set: Add API to get a folder's size. Created 4 years, 3 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
« no previous file with comments | « extensions/browser/extension_function_histogram_value.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/closure_compiler/externs/file_manager_private.js
diff --git a/third_party/closure_compiler/externs/file_manager_private.js b/third_party/closure_compiler/externs/file_manager_private.js
index 0a7f1ed3c507ff61acb31ab6bb120fc58f2a159a..34fc49ec9f034232c4126a41a151f00a8f63a7a2 100644
--- a/third_party/closure_compiler/externs/file_manager_private.js
+++ b/third_party/closure_compiler/externs/file_manager_private.js
@@ -650,6 +650,14 @@ chrome.fileManagerPrivate.configureVolume = function(volumeId, callback) {};
chrome.fileManagerPrivate.getCustomActions = function(entries, callback) {};
/**
+ * Get the total size of a directory. |entry| Entry of the target directory.
+ * |callback|
+ * @param {!DirectoryEntry} entry
+ * @param {function(number)} callback
+ */
+chrome.fileManagerPrivate.getDirectorySize = function(entry, callback) {};
+
+/**
* Executes the action on the specified set of entries. If not possible, then
* returns an error via chrome.runtime.lastError.
* @param {!Array<!Entry>} entries
« no previous file with comments | « extensions/browser/extension_function_histogram_value.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698