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

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

Issue 1018853005: Files.app: Obtain total bytes of upload task before starting tasks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Created 5 years, 9 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 | « no previous file | chrome/browser/chromeos/drive/job_scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drive/job_scheduler.h
diff --git a/chrome/browser/chromeos/drive/job_scheduler.h b/chrome/browser/chromeos/drive/job_scheduler.h
index 2440c6d59b7ec5f90cb6ec7afd49edb8ca2709b2..75ecf749ead9647a1a469191e6645f10ff66a2b7 100644
--- a/chrome/browser/chromeos/drive/job_scheduler.h
+++ b/chrome/browser/chromeos/drive/job_scheduler.h
@@ -346,6 +346,11 @@ class JobScheduler
void OnConnectionTypeChanged(
net::NetworkChangeNotifier::ConnectionType type) override;
+ // Updates total_bytes in JobInfo.
+ void OnGotFileSizeForJob(JobID job_id,
+ const std::string& histogram_name,
+ int64* size);
+
// Get the type of queue the specified job should be put in.
QueueType GetJobQueueType(JobType type);
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/job_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698