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

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

Issue 318873003: drive: Stop returning ResourceList from JobScheduler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
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);
« no previous file with comments | « chrome/browser/chromeos/drive/file_system/search_operation.cc ('k') | chrome/browser/chromeos/drive/job_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698