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

Unified Diff: chrome/browser/sync_file_system/drive_file_sync_client.h

Issue 14146006: Refactoring: replace SearchInDirectory by SearchByTitle. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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_file_sync_client.h
diff --git a/chrome/browser/sync_file_system/drive_file_sync_client.h b/chrome/browser/sync_file_system/drive_file_sync_client.h
index 3e609d7ed3ba2def3090d8f94c1ec5cf1c152736..6a60b48f0ce3888bfa8e14cdc763509920cd1993 100644
--- a/chrome/browser/sync_file_system/drive_file_sync_client.h
+++ b/chrome/browser/sync_file_system/drive_file_sync_client.h
@@ -132,9 +132,9 @@ class DriveFileSyncClient
google_apis::GDataErrorCode error,
scoped_ptr<google_apis::ResourceEntry> entry);
- void SearchFilesInDirectory(const std::string& directory_resource_id,
- const std::string& search_query,
- const ResourceListCallback& callback);
+ void SearchByTitle(const std::string& title,
+ const std::string& directory_resource_id,
+ const ResourceListCallback& callback);
void DidGetAboutResource(
const ChangeStampCallback& callback,
@@ -213,8 +213,6 @@ class DriveFileSyncClient
UploadFileCallback GetAndUnregisterUploadCallback(UploadKey key);
void CancelAllUploads(google_apis::GDataErrorCode error);
- static std::string FormatTitleQuery(const std::string& title);
-
scoped_ptr<google_apis::DriveServiceInterface> drive_service_;
scoped_ptr<google_apis::DriveUploaderInterface> drive_uploader_;
google_apis::GDataWapiUrlGenerator url_generator_;

Powered by Google App Engine
This is Rietveld 408576698