| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_JOB_LIST_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_JOB_LIST_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_JOB_LIST_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_JOB_LIST_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 12 #include "chrome/browser/chromeos/drive/file_errors.h" | 12 #include "components/drive/file_errors.h" |
| 13 | 13 |
| 14 namespace drive { | 14 namespace drive { |
| 15 | 15 |
| 16 // Enum representing the type of job. | 16 // Enum representing the type of job. |
| 17 enum JobType { | 17 enum JobType { |
| 18 TYPE_GET_ABOUT_RESOURCE, | 18 TYPE_GET_ABOUT_RESOURCE, |
| 19 TYPE_GET_APP_LIST, | 19 TYPE_GET_APP_LIST, |
| 20 TYPE_GET_ALL_RESOURCE_LIST, | 20 TYPE_GET_ALL_RESOURCE_LIST, |
| 21 TYPE_GET_RESOURCE_LIST_IN_DIRECTORY, | 21 TYPE_GET_RESOURCE_LIST_IN_DIRECTORY, |
| 22 TYPE_SEARCH, | 22 TYPE_SEARCH, |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 // Cancels the job. | 130 // Cancels the job. |
| 131 virtual void CancelJob(JobID job_id) = 0; | 131 virtual void CancelJob(JobID job_id) = 0; |
| 132 | 132 |
| 133 // Cancels all the jobs. | 133 // Cancels all the jobs. |
| 134 virtual void CancelAllJobs() = 0; | 134 virtual void CancelAllJobs() = 0; |
| 135 }; | 135 }; |
| 136 | 136 |
| 137 } // namespace drive | 137 } // namespace drive |
| 138 | 138 |
| 139 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_JOB_LIST_H_ | 139 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_JOB_LIST_H_ |
| OLD | NEW |