summaryrefslogtreecommitdiffstats
path: root/net/base/net_util.h
diff options
context:
space:
mode:
authorvitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-22 00:09:23 +0000
committervitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-22 00:09:23 +0000
commit0318f92ba7c54fc5ef6397c6d58250fea95c7196 (patch)
tree5bcef0db3fb7334c5a4fd6d25444a2b86c17ec5e /net/base/net_util.h
parent7b691d3fee8d10f130007016caefa0c6c6cd0681 (diff)
downloadchromium_src-0318f92ba7c54fc5ef6397c6d58250fea95c7196.zip
chromium_src-0318f92ba7c54fc5ef6397c6d58250fea95c7196.tar.gz
chromium_src-0318f92ba7c54fc5ef6397c6d58250fea95c7196.tar.bz2
Renamed namespaces in src/url.
url_util -> url url_parse -> url url_canon -> url BUG=364747 R=brettw@chromium.org, thestig@chromium.org, willchan@chromium.org Review URL: https://codereview.chromium.org/242463002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265120 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/net_util.h')
-rw-r--r--net/base/net_util.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/net/base/net_util.h b/net/base/net_util.h
index a63aa9d..ad0c67a 100644
--- a/net/base/net_util.h
+++ b/net/base/net_util.h
@@ -31,11 +31,8 @@ namespace base {
class Time;
}
-namespace url_canon {
+namespace url {
struct CanonHostInfo;
-}
-
-namespace url_parse {
struct Parsed;
}
@@ -195,7 +192,7 @@ NET_EXPORT base::string16 IDNToUnicode(const std::string& host,
// Canonicalizes |host| and returns it. Also fills |host_info| with
// IP address information. |host_info| must not be NULL.
NET_EXPORT std::string CanonicalizeHost(const std::string& host,
- url_canon::CanonHostInfo* host_info);
+ url::CanonHostInfo* host_info);
// Returns true if |host| is not an IP address and is compliant with a set of
// rules based on RFC 1738 and tweaked to be compatible with the real world.
@@ -300,7 +297,7 @@ NET_EXPORT base::string16 FormatUrl(const GURL& url,
const std::string& languages,
FormatUrlTypes format_types,
UnescapeRule::Type unescape_rules,
- url_parse::Parsed* new_parsed,
+ url::Parsed* new_parsed,
size_t* prefix_end,
size_t* offset_for_adjustment);
NET_EXPORT base::string16 FormatUrlWithOffsets(
@@ -308,7 +305,7 @@ NET_EXPORT base::string16 FormatUrlWithOffsets(
const std::string& languages,
FormatUrlTypes format_types,
UnescapeRule::Type unescape_rules,
- url_parse::Parsed* new_parsed,
+ url::Parsed* new_parsed,
size_t* prefix_end,
std::vector<size_t>* offsets_for_adjustment);
// This function is like those above except it takes |adjustments| rather
@@ -320,7 +317,7 @@ NET_EXPORT base::string16 FormatUrlWithAdjustments(
const std::string& languages,
FormatUrlTypes format_types,
UnescapeRule::Type unescape_rules,
- url_parse::Parsed* new_parsed,
+ url::Parsed* new_parsed,
size_t* prefix_end,
base::OffsetAdjuster::Adjustments* adjustments);