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

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

Issue 305913002: drive: Replace GetResourceListCallback in DriveServiceInterface with FileListCallback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 e1d0ff6a69c56e4e1ede5293a4356708b59ddea8..27bedf54bfb53d4049e4a1f4c1fe1b97cb4fe0a7 100644
--- a/chrome/browser/chromeos/drive/job_scheduler.h
+++ b/chrome/browser/chromeos/drive/job_scheduler.h
@@ -275,19 +275,19 @@ class JobScheduler
// Retries the job if needed and returns false. Otherwise returns true.
bool OnJobDone(JobID job_id, google_apis::GDataErrorCode error);
- // Callback for job finishing with a ChangeListCallback.
- void OnGetChangeListJobDone(
+ // Callback for job finishing with a FileListCallback.
+ void OnGetFileListJobDone(
JobID job_id,
const google_apis::GetResourceListCallback& callback,
google_apis::GDataErrorCode error,
- scoped_ptr<google_apis::ChangeList> change_list);
+ scoped_ptr<google_apis::FileList> file_list);
- // Callback for job finishing with a GetResourceListCallback.
- void OnGetResourceListJobDone(
+ // Callback for job finishing with a ChangeListCallback.
+ void OnGetChangeListJobDone(
JobID job_id,
const google_apis::GetResourceListCallback& callback,
google_apis::GDataErrorCode error,
- scoped_ptr<google_apis::ResourceList> resource_list);
+ scoped_ptr<google_apis::ChangeList> change_list);
// Callback for job finishing with a GetResourceEntryCallback.
void OnGetResourceEntryJobDone(
« no previous file with comments | « chrome/browser/chromeos/drive/file_system_unittest.cc ('k') | chrome/browser/chromeos/drive/job_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698