summaryrefslogtreecommitdiffstats
path: root/components/url_matcher/url_matcher.cc
diff options
context:
space:
mode:
authorvitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-01 18:01:49 +0000
committervitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-01 18:01:49 +0000
commit04307e0c502a22c7c07d8bdfd2a8209de64f197b (patch)
tree47be3bb8174b85f2ae2d21e3bcd89a965c76936e /components/url_matcher/url_matcher.cc
parentd13e288993386e917a708238f062988fdf2d0ef0 (diff)
downloadchromium_src-04307e0c502a22c7c07d8bdfd2a8209de64f197b.zip
chromium_src-04307e0c502a22c7c07d8bdfd2a8209de64f197b.tar.gz
chromium_src-04307e0c502a22c7c07d8bdfd2a8209de64f197b.tar.bz2
Renamed namespaces of url lib.
url_util -> url url_parse -> url url_canon -> url BUG=364747 TBR=atwilson,battre Review URL: https://codereview.chromium.org/262593002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267579 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/url_matcher/url_matcher.cc')
-rw-r--r--components/url_matcher/url_matcher.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/url_matcher/url_matcher.cc b/components/url_matcher/url_matcher.cc
index f40906f..3798f7e 100644
--- a/components/url_matcher/url_matcher.cc
+++ b/components/url_matcher/url_matcher.cc
@@ -386,8 +386,8 @@ std::string URLMatcherConditionFactory::CanonicalizeURLForFullSearches(
// Clear port if it is implicit from scheme.
if (url.has_port()) {
const std::string& port = url.scheme();
- if (url_canon::DefaultPortForScheme(port.c_str(), port.size()) ==
- url.EffectiveIntPort()) {
+ if (url::DefaultPortForScheme(port.c_str(), port.size()) ==
+ url.EffectiveIntPort()) {
replacements.ClearPort();
}
}
@@ -407,8 +407,8 @@ static std::string CanonicalizeURLForRegexSearchesHelper(
// Clear port if it is implicit from scheme.
if (url.has_port()) {
const std::string& port = url.scheme();
- if (url_canon::DefaultPortForScheme(port.c_str(), port.size()) ==
- url.EffectiveIntPort()) {
+ if (url::DefaultPortForScheme(port.c_str(), port.size()) ==
+ url.EffectiveIntPort()) {
replacements.ClearPort();
}
}