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

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 5efd19a0ac36f09309a49dc99d86d6766e0ea809..189f45c089603e8dce1798dccd348995d8fff8a9 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 };
@@ -322,6 +322,9 @@ dictionary FileTransferStatus {
// Approximated total size of transfer operation.
double? total;
+
+ // Total number of jobs.
+ double? num_total_jobs;
hirono 2014/08/27 08:37:20 The reason why we use double for number of bytes i
iseki 2014/08/28 07:13:32 Done.
};
// Error during the drive sync.

Powered by Google App Engine
This is Rietveld 408576698