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

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

Issue 23575004: Refactor CreateDiretoryRequest. (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.cc
diff --git a/chrome/browser/google_apis/drive_api_url_generator.cc b/chrome/browser/google_apis/drive_api_url_generator.cc
index 806371d9d8575edbfb1c8f1ee6fb3e0a352ae447..cc0b611adf431547f15a3e6f0a2fbd500acdeaf5 100644
--- a/chrome/browser/google_apis/drive_api_url_generator.cc
+++ b/chrome/browser/google_apis/drive_api_url_generator.cc
@@ -65,14 +65,14 @@ GURL DriveApiUrlGenerator::GetAppsListUrl() const {
return base_url_.Resolve(kDriveV2AppsUrl);
}
-GURL DriveApiUrlGenerator::GetFilesUrl() const {
- return base_url_.Resolve(kDriveV2FilesUrl);
-}
-
GURL DriveApiUrlGenerator::GetFilesGetUrl(const std::string& file_id) const {
return base_url_.Resolve(kDriveV2FileUrlPrefix + net::EscapePath(file_id));
}
+GURL DriveApiUrlGenerator::GetFilesInsertUrl() const {
+ return base_url_.Resolve(kDriveV2FilesUrl);
+}
+
GURL DriveApiUrlGenerator::GetFilesPatchUrl(const std::string& file_id,
bool set_modified_date,
bool update_viewed_date) const {
« no previous file with comments | « chrome/browser/google_apis/drive_api_url_generator.h ('k') | chrome/browser/google_apis/drive_api_url_generator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698