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

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

Issue 14235015: Fill JobInfo in DriveScheduler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 8 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/drive_scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drive/drive_scheduler.h
diff --git a/chrome/browser/chromeos/drive/drive_scheduler.h b/chrome/browser/chromeos/drive/drive_scheduler.h
index 15e6439fce345fe29685c3be9a574dc03a439910..8b81741788084841e3125c271ffcfa9a33886822 100644
--- a/chrome/browser/chromeos/drive/drive_scheduler.h
+++ b/chrome/browser/chromeos/drive/drive_scheduler.h
@@ -182,8 +182,10 @@ class DriveScheduler
// Online and cache path of the operation's target.
// Used by:
// TYPE_DOWNLOAD_FILE
- base::FilePath virtual_path;
- base::FilePath local_cache_path;
+ // TYPE_UPLOAD_NEW_FILE
+ // TYPE_UPLOAD_EXISTING_FILE
+ base::FilePath drive_file_path;
+ base::FilePath local_file_path;
// Parameter to get change list.
// Used by:
@@ -272,8 +274,6 @@ class DriveScheduler
// Used by:
// TYPE_UPLOAD_NEW_FILE
// TYPE_UPLOAD_EXISTING_FILE
- base::FilePath drive_file_path;
- base::FilePath local_file_path;
std::string content_type;
std::string etag;
std::string title;
@@ -360,6 +360,9 @@ class DriveScheduler
const base::FilePath& file_path,
scoped_ptr<google_apis::ResourceEntry> resource_entry);
+ // Updates the progress status of the specified job.
+ void UpdateProgress(JobID job_id, int64 progress, int64 total);
+
// net::NetworkChangeNotifier::ConnectionTypeObserver override.
virtual void OnConnectionTypeChanged(
net::NetworkChangeNotifier::ConnectionType type) OVERRIDE;
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/drive_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698