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

Unified Diff: chrome/browser/sync_file_system/drive_backend/drive_service_on_worker.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/sync_file_system/drive_backend/drive_service_on_worker.h
diff --git a/chrome/browser/sync_file_system/drive_backend/drive_service_on_worker.h b/chrome/browser/sync_file_system/drive_backend/drive_service_on_worker.h
index 66b8a9eea604f266e3b68475f7b7eb2fdc597307..a69e0333033d6cb12133b7546a0860282ed7a55f 100644
--- a/chrome/browser/sync_file_system/drive_backend/drive_service_on_worker.h
+++ b/chrome/browser/sync_file_system/drive_backend/drive_service_on_worker.h
@@ -64,15 +64,15 @@ class DriveServiceOnWorker : public drive::DriveServiceInterface {
virtual google_apis::CancelCallback GetRemainingFileList(
const GURL& next_link,
- const google_apis::GetResourceListCallback& callback) OVERRIDE;
+ const google_apis::FileListCallback& callback) OVERRIDE;
virtual google_apis::CancelCallback GetResourceEntry(
const std::string& resource_id,
const google_apis::GetResourceEntryCallback& callback) OVERRIDE;
- virtual google_apis::CancelCallback GetResourceListInDirectory(
+ virtual google_apis::CancelCallback GetFileListInDirectory(
const std::string& directory_resource_id,
- const google_apis::GetResourceListCallback& callback) OVERRIDE;
+ const google_apis::FileListCallback& callback) OVERRIDE;
virtual google_apis::CancelCallback RemoveResourceFromDirectory(
const std::string& parent_resource_id,
@@ -82,7 +82,7 @@ class DriveServiceOnWorker : public drive::DriveServiceInterface {
virtual google_apis::CancelCallback SearchByTitle(
const std::string& title,
const std::string& directory_resource_id,
- const google_apis::GetResourceListCallback& callback) OVERRIDE;
+ const google_apis::FileListCallback& callback) OVERRIDE;
virtual bool HasRefreshToken() const OVERRIDE;
@@ -98,11 +98,11 @@ class DriveServiceOnWorker : public drive::DriveServiceInterface {
const google_apis::AuthStatusCallback& callback) OVERRIDE;
virtual void ClearAccessToken() OVERRIDE;
virtual void ClearRefreshToken() OVERRIDE;
- virtual google_apis::CancelCallback GetAllResourceList(
- const google_apis::GetResourceListCallback& callback) OVERRIDE;
+ virtual google_apis::CancelCallback GetAllFileList(
+ const google_apis::FileListCallback& callback) OVERRIDE;
virtual google_apis::CancelCallback Search(
const std::string& search_query,
- const google_apis::GetResourceListCallback& callback) OVERRIDE;
+ const google_apis::FileListCallback& callback) OVERRIDE;
virtual google_apis::CancelCallback GetShareUrl(
const std::string& resource_id,
const GURL& embed_origin,

Powered by Google App Engine
This is Rietveld 408576698