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

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

Issue 11417108: google_apis: Get rid of gdata_wapi_url_util namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 1 month 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 | « chrome/browser/google_apis/gdata_wapi_operations.h ('k') | chrome/browser/google_apis/gdata_wapi_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/google_apis/gdata_wapi_operations.cc
diff --git a/chrome/browser/google_apis/gdata_wapi_operations.cc b/chrome/browser/google_apis/gdata_wapi_operations.cc
index 6552c7b0a6ed8ebf9417c1d18f61b1489a6418cc..c2327608fc83cf614c356d28b16b78688f739892 100644
--- a/chrome/browser/google_apis/gdata_wapi_operations.cc
+++ b/chrome/browser/google_apis/gdata_wapi_operations.cc
@@ -8,7 +8,7 @@
#include "base/stringprintf.h"
#include "base/values.h"
#include "chrome/browser/google_apis/gdata_wapi_parser.h"
-#include "chrome/browser/google_apis/gdata_wapi_url_util.h"
+#include "chrome/browser/google_apis/gdata_wapi_url_generator.h"
#include "chrome/browser/google_apis/time_util.h"
#include "chrome/common/net/url_util.h"
#include "content/public/browser/browser_thread.h"
@@ -236,7 +236,7 @@ DeleteDocumentOperation::DeleteDocumentOperation(
DeleteDocumentOperation::~DeleteDocumentOperation() {}
GURL DeleteDocumentOperation::GetURL() const {
- return gdata_wapi_url_util::AddStandardUrlParams(document_url());
+ return GDataWapiUrlGenerator::AddStandardUrlParams(document_url());
}
URLFetcher::RequestType DeleteDocumentOperation::GetRequestType() const {
@@ -268,7 +268,7 @@ CreateDirectoryOperation::~CreateDirectoryOperation() {}
GURL CreateDirectoryOperation::GetURL() const {
if (!parent_content_url_.is_empty())
- return gdata_wapi_url_util::AddStandardUrlParams(parent_content_url_);
+ return GDataWapiUrlGenerator::AddStandardUrlParams(parent_content_url_);
return url_generator_.GenerateDocumentListRootUrl();
}
@@ -371,7 +371,7 @@ RenameResourceOperation::GetExtraRequestHeaders() const {
}
GURL RenameResourceOperation::GetURL() const {
- return gdata_wapi_url_util::AddStandardUrlParams(document_url());
+ return GDataWapiUrlGenerator::AddStandardUrlParams(document_url());
}
bool RenameResourceOperation::GetContentData(std::string* upload_content_type,
@@ -498,7 +498,7 @@ AddResourceToDirectoryOperation::~AddResourceToDirectoryOperation() {}
GURL AddResourceToDirectoryOperation::GetURL() const {
if (!parent_content_url_.is_empty())
- return gdata_wapi_url_util::AddStandardUrlParams(parent_content_url_);
+ return GDataWapiUrlGenerator::AddStandardUrlParams(parent_content_url_);
return url_generator_.GenerateDocumentListRootUrl();
}
@@ -547,7 +547,7 @@ GURL RemoveResourceFromDirectoryOperation::GetURL() const {
GURL edit_url(base::StringPrintf("%s/%s",
parent_content_url_.spec().c_str(),
escaped_resource_id.c_str()));
- return gdata_wapi_url_util::AddStandardUrlParams(edit_url);
+ return GDataWapiUrlGenerator::AddStandardUrlParams(edit_url);
}
URLFetcher::RequestType
« no previous file with comments | « chrome/browser/google_apis/gdata_wapi_operations.h ('k') | chrome/browser/google_apis/gdata_wapi_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698