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

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

Issue 12069004: google_apis: Move AppendQueryParameter() etc. from common/net/url_util.h to net/base/url_util.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 1c2c9f09dc35d9e4875452341af7a1dd25c7bd7e..59494ebc1b99bc31ba4b4557bd3d1a0aae7fc1e1 100644
--- a/chrome/browser/google_apis/drive_api_url_generator.cc
+++ b/chrome/browser/google_apis/drive_api_url_generator.cc
@@ -6,7 +6,7 @@
#include "base/string_number_conversions.h"
#include "base/stringprintf.h"
-#include "chrome/common/net/url_util.h"
+#include "net/base/url_util.h"
namespace google_apis {
@@ -49,7 +49,7 @@ GURL DriveApiUrlGenerator::GetChangelistUrl(
base_url_.Resolve(kDriveV2ChangelistUrl) :
override_url;
return start_changestamp ?
- chrome_common_net::AppendOrReplaceQueryParameter(
+ net::AppendOrReplaceQueryParameter(
url, "startChangeId", base::Int64ToString(start_changestamp)) :
url;
}
@@ -63,8 +63,7 @@ GURL DriveApiUrlGenerator::GetFilelistUrl(
override_url;
return search_string.empty() ?
url :
- chrome_common_net::AppendOrReplaceQueryParameter(
- url, "q", search_string);
+ net::AppendOrReplaceQueryParameter(url, "q", search_string);
}
GURL DriveApiUrlGenerator::GetFileUrl(const std::string& file_id) const {
« no previous file with comments | « chrome/browser/google_apis/drive_api_service.cc ('k') | chrome/browser/google_apis/gdata_contacts_operations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698