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

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

Issue 12225101: Implement GetInitiateUpload{New,Existing}FileUrl on Drive API v2. (Closed) Base URL: http://git.chromium.org/chromium/src.git@b148632_replace_url_to_resource_id_2
Patch Set: Created 7 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/google_apis/drive_api_url_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0e7fd4428cb3764219c9feaf17664fa8655837c9..cb61f02d9d0334ac76526ab40d426cf92ccc6011 100644
--- a/chrome/browser/google_apis/drive_api_url_generator.h
+++ b/chrome/browser/google_apis/drive_api_url_generator.h
@@ -68,6 +68,13 @@ class DriveApiUrlGenerator {
GURL GetChildrenUrlForRemoval(const std::string& folder_id,
const std::string& child_id) const;
+ // Returns a URL to initiate uploading a new file.
+ GURL GetInitiateUploadNewFileUrl() const;
+
+ // Returns a URL to initiate uploading an existing file specified by
+ // |resource_id|.
+ GURL GetInitiateUploadExistingFileUrl(const std::string& resource_id) const;
+
private:
const GURL base_url_;
« no previous file with comments | « no previous file | chrome/browser/google_apis/drive_api_url_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698