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 2361faf05f4580b77596105bf08fde0944eec922..e58ada59f699f7808bb28fd0ff931bd1e8205295 100644 |
--- a/chrome/browser/chromeos/drive/job_scheduler.h |
+++ b/chrome/browser/chromeos/drive/job_scheduler.h |
@@ -83,37 +83,34 @@ class JobScheduler |
// |callback| must not be null. |
void GetAboutResource(const google_apis::AboutResourceCallback& callback); |
- // Adds a GetAllResourceList operation to the queue. |
+ // Adds a GetAllFileList operation to the queue. |
// |callback| must not be null. |
- void GetAllResourceList(const google_apis::GetResourceListCallback& callback); |
+ void GetAllFileList(const google_apis::FileListCallback& callback); |
- // Adds a GetResourceListInDirectory operation to the queue. |
+ // Adds a GetFileListInDirectory operation to the queue. |
// |callback| must not be null. |
- void GetResourceListInDirectory( |
- const std::string& directory_resource_id, |
- const google_apis::GetResourceListCallback& callback); |
+ void GetFileListInDirectory(const std::string& directory_resource_id, |
+ const google_apis::FileListCallback& callback); |
// Adds a Search operation to the queue. |
// |callback| must not be null. |
void Search(const std::string& search_query, |
- const google_apis::GetResourceListCallback& callback); |
+ const google_apis::FileListCallback& callback); |
// Adds a GetChangeList operation to the queue. |
// |callback| must not be null. |
void GetChangeList(int64 start_changestamp, |
- const google_apis::GetResourceListCallback& callback); |
+ const google_apis::ChangeListCallback& callback); |
// Adds GetRemainingChangeList operation to the queue. |
// |callback| must not be null. |
- void GetRemainingChangeList( |
- const GURL& next_link, |
- const google_apis::GetResourceListCallback& callback); |
+ void GetRemainingChangeList(const GURL& next_link, |
+ const google_apis::ChangeListCallback& callback); |
// Adds GetRemainingFileList operation to the queue. |
// |callback| must not be null. |
- void GetRemainingFileList( |
- const GURL& next_link, |
- const google_apis::GetResourceListCallback& callback); |
+ void GetRemainingFileList(const GURL& next_link, |
+ const google_apis::FileListCallback& callback); |
// Adds a GetResourceEntry operation to the queue. |
void GetResourceEntry(const std::string& resource_id, |
@@ -278,14 +275,14 @@ class JobScheduler |
// Callback for job finishing with a FileListCallback. |
void OnGetFileListJobDone( |
JobID job_id, |
- const google_apis::GetResourceListCallback& callback, |
+ const google_apis::FileListCallback& callback, |
google_apis::GDataErrorCode error, |
scoped_ptr<google_apis::FileList> file_list); |
// Callback for job finishing with a ChangeListCallback. |
void OnGetChangeListJobDone( |
JobID job_id, |
- const google_apis::GetResourceListCallback& callback, |
+ const google_apis::ChangeListCallback& callback, |
google_apis::GDataErrorCode error, |
scoped_ptr<google_apis::ChangeList> change_list); |