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

Unified Diff: net/base/url_util.cc

Issue 255333003: Renamed namespaces in src/net. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tue 04/29/2014 19:22:06.75 Created 6 years, 8 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 | « net/base/url_util.h ('k') | net/cert/cert_verify_proc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/url_util.cc
diff --git a/net/base/url_util.cc b/net/base/url_util.cc
index a7c89e9047d7cd27f5ee25bbf597efc962b94ea1..8540e193d3c53b32bfd3937c81ec4bba744fecda 100644
--- a/net/base/url_util.cc
+++ b/net/base/url_util.cc
@@ -36,11 +36,11 @@ GURL AppendOrReplaceQueryParameter(const GURL& url,
std::string param_value = EscapeQueryParamValue(value, true);
const std::string input = url.query();
- url_parse::Component cursor(0, input.size());
+ url::Component cursor(0, input.size());
std::string output;
- url_parse::Component key_range, value_range;
- while (url_parse::ExtractQueryKeyValue(
- input.data(), &cursor, &key_range, &value_range)) {
+ url::Component key_range, value_range;
+ while (url::ExtractQueryKeyValue(input.data(), &cursor, &key_range,
+ &value_range)) {
const base::StringPiece key(
input.data() + key_range.begin, key_range.len);
const base::StringPiece value(
@@ -118,10 +118,8 @@ void QueryIterator::Advance() {
key_.reset();
value_.reset();
unescaped_value_.clear();
- at_end_ = !url_parse::ExtractQueryKeyValue(url_.spec().c_str(),
- &query_,
- &key_,
- &value_);
+ at_end_ =
+ !url::ExtractQueryKeyValue(url_.spec().c_str(), &query_, &key_, &value_);
}
bool GetValueForKeyInQuery(const GURL& url,
« no previous file with comments | « net/base/url_util.h ('k') | net/cert/cert_verify_proc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698