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

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

Issue 12226073: Implement GenerateInitiateUpload{New,Existing}FileUrl. (Closed) Base URL: http://git.chromium.org/chromium/src.git@b148632_split_initiate_upload_interface
Patch Set: Rebase 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/gdata_wapi_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/gdata_wapi_url_generator.h
diff --git a/chrome/browser/google_apis/gdata_wapi_url_generator.h b/chrome/browser/google_apis/gdata_wapi_url_generator.h
index 066b7ebc5100a90c79846fd359416bd867ba7661..b91865dd03794811731a913727135cb5ca3729b6 100644
--- a/chrome/browser/google_apis/gdata_wapi_url_generator.h
+++ b/chrome/browser/google_apis/gdata_wapi_url_generator.h
@@ -104,6 +104,16 @@ class GDataWapiUrlGenerator {
GURL GenerateResourceUrlForRemoval(const std::string& parent_resource_id,
const std::string& resource_id) const;
+ // Generates a URL to initiate uploading a new file to a directory
+ // specified by |parent_resource_id|.
+ GURL GenerateInitiateUploadNewFileUrl(
+ const std::string& parent_resource_id) const;
+
+ // Generates a URL to initiate uploading file content to overwrite a
+ // file specified by |resource_id|.
+ GURL GenerateInitiateUploadExistingFileUrl(
+ const std::string& resource_id) const;
+
// Generates a URL for getting the root resource list feed.
// Used to make changes in the root directory (ex. create a directory in the
// root directory)
« no previous file with comments | « no previous file | chrome/browser/google_apis/gdata_wapi_url_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698