summaryrefslogtreecommitdiffstats
path: root/url
diff options
context:
space:
mode:
authorvitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-02 00:02:25 +0000
committervitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-02 00:02:25 +0000
commit47e365de6ff74933f6afb088b458857870ddba3d (patch)
treedc025581391d7dc5c708a5489f981fc67e5a61d3 /url
parent37c01b92d46f6d617ea72edd0f4fa34466fe7aab (diff)
downloadchromium_src-47e365de6ff74933f6afb088b458857870ddba3d.zip
chromium_src-47e365de6ff74933f6afb088b458857870ddba3d.tar.gz
chromium_src-47e365de6ff74933f6afb088b458857870ddba3d.tar.bz2
Renamed namespaces of url lib and removed namespace aliases.
url_util -> url url_parse -> url url_canon -> url BUG=364747 TBR=estade Review URL: https://codereview.chromium.org/260903011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267681 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'url')
-rw-r--r--url/gurl_unittest.cc4
-rw-r--r--url/third_party/mozilla/url_parse.h2
-rw-r--r--url/url_export.h7
3 files changed, 3 insertions, 10 deletions
diff --git a/url/gurl_unittest.cc b/url/gurl_unittest.cc
index 89375a8..489b9d2 100644
--- a/url/gurl_unittest.cc
+++ b/url/gurl_unittest.cc
@@ -43,8 +43,8 @@ std::string TypesTestCase(const char* src) {
} // namespace
-// Different types of URLs should be handled differently by url_util, and
-// handed off to different canonicalizers.
+// Different types of URLs should be handled differently, and handed off to
+// different canonicalizers.
TEST(GURLTest, Types) {
// URLs with unknown schemes should be treated as path URLs, even when they
// have things like "://".
diff --git a/url/third_party/mozilla/url_parse.h b/url/third_party/mozilla/url_parse.h
index cc3f2dd..71dbb78 100644
--- a/url/third_party/mozilla/url_parse.h
+++ b/url/third_party/mozilla/url_parse.h
@@ -75,7 +75,7 @@ inline Component MakeRange(int begin, int end) {
// return I_CAN_NOT_FIND_THE_SCHEME_DUDE;
//
// if (IsStandardScheme(url, scheme)) // Not provided by this component
-// url_parseParseStandardURL(url, url_len, &parsed);
+// ParseStandardURL(url, url_len, &parsed);
// else if (IsFileURL(url, scheme)) // Not provided by this component
// ParseFileURL(url, url_len, &parsed);
// else
diff --git a/url/url_export.h b/url/url_export.h
index 177ec28..15ef19e 100644
--- a/url/url_export.h
+++ b/url/url_export.h
@@ -30,11 +30,4 @@
#endif // define(COMPONENT_BUILD)
-// TODO(vitalybuka, crbug.com/364747) url_util is deprecated, remove after
-// fixing depending code.
-namespace url {}
-namespace url_util = ::url;
-namespace url_parse = ::url;
-namespace url_canon = ::url;
-
#endif // URL_URL_EXPORT_H_