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

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

Issue 507293002: Enrich fileBrowserPrivate.onFileTransfersUpdated event to support displaying total number of jobs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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..eb11263fa8e182694d63112553ab1c4c3a4d8553 100644
--- a/chrome/common/extensions/api/file_browser_private.idl
+++ b/chrome/common/extensions/api/file_browser_private.idl
@@ -46,7 +46,7 @@ enum MountCompletedStatus {
};
// File transfer progress state.
-enum TransferState { started, in_progress, completed, failed };
+enum TransferState { added, started, in_progress, completed, failed };
// Defines file transfer direction.
enum TransferType { upload, download };
@@ -314,6 +314,9 @@ dictionary FileTransferStatus {
// Approximated total size of transfer operation.
double? total;
+
+ // Total number of jobs.
+ long num_total_jobs;
};
// Error during the drive sync.

Powered by Google App Engine
This is Rietveld 408576698