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

Unified Diff: chrome/browser/chromeos/drive/job_scheduler.cc

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, 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
Index: chrome/browser/chromeos/drive/job_scheduler.cc
diff --git a/chrome/browser/chromeos/drive/job_scheduler.cc b/chrome/browser/chromeos/drive/job_scheduler.cc
index 13aa7df2d4e9296ca1b1eea5045157cb2d0245cb..a9744276759b497e3e5b89a3c6ea28e9f5c7bdac 100644
--- a/chrome/browser/chromeos/drive/job_scheduler.cc
+++ b/chrome/browser/chromeos/drive/job_scheduler.cc
@@ -715,7 +715,7 @@ void JobScheduler::QueueJob(JobID job_id) {
DCHECK(job_entry);
const JobInfo& job_info = job_entry->job_info;
- QueueType queue_type = GetJobQueueType(job_info.job_type);
+ const QueueType queue_type = GetJobQueueType(job_info.job_type);
queue_[queue_type]->Push(job_id, job_entry->context.type);
const std::string retry_prefix = job_entry->retry_count > 0 ?

Powered by Google App Engine
This is Rietveld 408576698