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

Unified Diff: chrome/browser/sync_file_system/drive_backend/drive_service_wrapper.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_wrapper.h
diff --git a/chrome/browser/sync_file_system/drive_backend/drive_service_wrapper.h b/chrome/browser/sync_file_system/drive_backend/drive_service_wrapper.h
index 1c2efde23215c02c2afe6a7bd39743183de07d6f..760d8c3aa441efc50fce7033a79903e289be87d4 100644
--- a/chrome/browser/sync_file_system/drive_backend/drive_service_wrapper.h
+++ b/chrome/browser/sync_file_system/drive_backend/drive_service_wrapper.h
@@ -50,15 +50,15 @@ class DriveServiceWrapper : public base::SupportsWeakPtr<DriveServiceWrapper> {
void GetRemainingFileList(
const GURL& next_link,
- const google_apis::GetResourceListCallback& callback);
+ const google_apis::FileListCallback& callback);
void GetResourceEntry(
const std::string& resource_id,
const google_apis::GetResourceEntryCallback& callback);
- void GetResourceListInDirectory(
+ void GetFileListInDirectory(
const std::string& directory_resource_id,
- const google_apis::GetResourceListCallback& callback);
+ const google_apis::FileListCallback& callback);
bool HasRefreshToken() const;
@@ -70,7 +70,7 @@ class DriveServiceWrapper : public base::SupportsWeakPtr<DriveServiceWrapper> {
void SearchByTitle(
const std::string& title,
const std::string& directory_resource_id,
- const google_apis::GetResourceListCallback& callback);
+ const google_apis::FileListCallback& callback);
private:
drive::DriveServiceInterface* drive_service_;

Powered by Google App Engine
This is Rietveld 408576698