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

Side by Side Diff: chrome/browser/chromeos/drive/job_list.h

Issue 371883003: Files.app: Add an private API to get a download URL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "chrome/browser/chromeos/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_FILE_RESOURCE,
20 TYPE_GET_ALL_RESOURCE_LIST, 21 TYPE_GET_ALL_RESOURCE_LIST,
21 TYPE_GET_RESOURCE_LIST_IN_DIRECTORY, 22 TYPE_GET_RESOURCE_LIST_IN_DIRECTORY,
22 TYPE_SEARCH, 23 TYPE_SEARCH,
23 TYPE_GET_CHANGE_LIST, 24 TYPE_GET_CHANGE_LIST,
24 TYPE_GET_REMAINING_CHANGE_LIST, 25 TYPE_GET_REMAINING_CHANGE_LIST,
25 TYPE_GET_REMAINING_FILE_LIST, 26 TYPE_GET_REMAINING_FILE_LIST,
26 TYPE_GET_RESOURCE_ENTRY, 27 TYPE_GET_RESOURCE_ENTRY,
27 TYPE_GET_SHARE_URL, 28 TYPE_GET_SHARE_URL,
28 TYPE_TRASH_RESOURCE, 29 TYPE_TRASH_RESOURCE,
29 TYPE_COPY_RESOURCE, 30 TYPE_COPY_RESOURCE,
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 // Cancels the job. 133 // Cancels the job.
133 virtual void CancelJob(JobID job_id) = 0; 134 virtual void CancelJob(JobID job_id) = 0;
134 135
135 // Cancels all the jobs. 136 // Cancels all the jobs.
136 virtual void CancelAllJobs() = 0; 137 virtual void CancelAllJobs() = 0;
137 }; 138 };
138 139
139 } // namespace drive 140 } // namespace drive
140 141
141 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_JOB_LIST_H_ 142 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_JOB_LIST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698