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

Unified Diff: chrome/browser/sync_file_system/drive_backend/drive_service_wrapper.cc

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.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/drive_service_wrapper.cc b/chrome/browser/sync_file_system/drive_backend/drive_service_wrapper.cc
index 24f4476153c01b43410f92b126d7a380ca877582..7a65400674857fb8151b1e51ff5843ee1c5cd0a7 100644
--- a/chrome/browser/sync_file_system/drive_backend/drive_service_wrapper.cc
+++ b/chrome/browser/sync_file_system/drive_backend/drive_service_wrapper.cc
@@ -70,7 +70,7 @@ void DriveServiceWrapper::GetRemainingChangeList(
void DriveServiceWrapper::GetRemainingFileList(
const GURL& next_link,
- const google_apis::GetResourceListCallback& callback) {
+ const google_apis::FileListCallback& callback) {
drive_service_->GetRemainingFileList(next_link, callback);
}
@@ -80,11 +80,10 @@ void DriveServiceWrapper::GetResourceEntry(
drive_service_->GetResourceEntry(resource_id, callback);
}
-void DriveServiceWrapper::GetResourceListInDirectory(
+void DriveServiceWrapper::GetFileListInDirectory(
const std::string& directory_resource_id,
- const google_apis::GetResourceListCallback& callback) {
- drive_service_->GetResourceListInDirectory(directory_resource_id,
- callback);
+ const google_apis::FileListCallback& callback) {
+ drive_service_->GetFileListInDirectory(directory_resource_id, callback);
}
bool DriveServiceWrapper::HasRefreshToken() const {
@@ -102,7 +101,7 @@ void DriveServiceWrapper::RemoveResourceFromDirectory(
void DriveServiceWrapper::SearchByTitle(
const std::string& title,
const std::string& directory_resource_id,
- const google_apis::GetResourceListCallback& callback) {
+ const google_apis::FileListCallback& callback) {
drive_service_->SearchByTitle(
title, directory_resource_id, callback);
}

Powered by Google App Engine
This is Rietveld 408576698