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

Unified Diff: chrome/browser/chromeos/drive/job_list.h

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/browser/chromeos/drive/job_list.h
diff --git a/chrome/browser/chromeos/drive/job_list.h b/chrome/browser/chromeos/drive/job_list.h
index ca6b53d6aaa6a074580cd2e380968f2f22bb2651..436c295758cc2711c319cfbe52002bf985ac68b5 100644
--- a/chrome/browser/chromeos/drive/job_list.h
+++ b/chrome/browser/chromeos/drive/job_list.h
@@ -89,6 +89,9 @@ struct JobInfo {
// Returns the string representation of the job info.
std::string ToString() const;
+
+ // Total number of jobs.
+ long num_total_jobs;
};
// Checks if |job_info| represents a job for currently active file transfer.

Powered by Google App Engine
This is Rietveld 408576698