Chromium Code Reviews| 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..94fab639acbf9ffe0f41bcd1805a8416f010a980 100644 |
| --- a/chrome/browser/chromeos/drive/job_list.h |
| +++ b/chrome/browser/chromeos/drive/job_list.h |
| @@ -43,6 +43,9 @@ std::string JobTypeToString(JobType type); |
| // Current state of the job. |
| enum JobState { |
| + // The job is newed and file data, but not yet queued. |
| + STATE_NEW, |
|
hirono
2014/08/28 08:31:38
Why is this state needed?
iseki
2014/08/29 01:58:00
Done.
|
| + |
| // The job is queued, but not yet executed. |
| STATE_NONE, |
| @@ -89,6 +92,9 @@ struct JobInfo { |
| // Returns the string representation of the job info. |
| std::string ToString() const; |
| + |
| + // Total number of job. |
| + long num_total_jobs; |
| }; |
| // Checks if |job_info| represents a job for currently active file transfer. |