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

Unified Diff: chrome/browser/google_apis/drive_api_url_generator.h

Issue 23514007: Refactor TrashResourceRequest. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 4 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/google_apis/drive_api_url_generator.h
diff --git a/chrome/browser/google_apis/drive_api_url_generator.h b/chrome/browser/google_apis/drive_api_url_generator.h
index c8da6cb35af33ea8dd004330d1766553af46f29a..1a64a50463b044d68c60f281fae11cbdc34b9a84 100644
--- a/chrome/browser/google_apis/drive_api_url_generator.h
+++ b/chrome/browser/google_apis/drive_api_url_generator.h
@@ -51,15 +51,12 @@ class DriveApiUrlGenerator {
const std::string& page_token,
const std::string& q) const;
+ // Returns a URL to trash a resource with the given |file_id|.
+ GURL GetFilesTrashUrl(const std::string& file_id) const;
+
// Returns a URL to touch a resource specified by |resource_id|.
GURL GetFileTouchUrl(const std::string& resource_id) const;
- // Returns a URL to trash a resource with the given |resource_id|.
- // Note that the |resource_id| is corresponding to the "file id" in the
- // document: https://developers.google.com/drive/v2/reference/files/trash
- // but we use the term "resource" for consistency in our code.
- GURL GetFileTrashUrl(const std::string& resource_id) const;
-
// Returns a URL to fetch a list of changes.
GURL GetChangesListUrl(bool include_deleted,
int max_results,
« no previous file with comments | « chrome/browser/google_apis/drive_api_requests_unittest.cc ('k') | chrome/browser/google_apis/drive_api_url_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698