summaryrefslogtreecommitdiffstats
path: root/chrome/browser/template_url_model.cc
diff options
context:
space:
mode:
authordarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-07-31 19:40:37 +0000
committerdarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-07-31 19:40:37 +0000
commit8ac1a75acadaa2aae065212cb6255d00c789a184 (patch)
tree854eaf66ba8ce7e581bd8e6f1fa75f46d22f4bb7 /chrome/browser/template_url_model.cc
parent287a019ed5d015185cab41f6c7156dc6c4cbcee7 (diff)
downloadchromium_src-8ac1a75acadaa2aae065212cb6255d00c789a184.zip
chromium_src-8ac1a75acadaa2aae065212cb6255d00c789a184.tar.gz
chromium_src-8ac1a75acadaa2aae065212cb6255d00c789a184.tar.bz2
Move more net classes into the net namespace. Also remove the net_util namespace in favor of the net namespace.
This is a purely mechanical change. There should be no logic changes. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/template_url_model.cc')
-rw-r--r--chrome/browser/template_url_model.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/template_url_model.cc b/chrome/browser/template_url_model.cc
index b137915..85e4a78 100644
--- a/chrome/browser/template_url_model.cc
+++ b/chrome/browser/template_url_model.cc
@@ -174,7 +174,7 @@ std::wstring TemplateURLModel::GenerateKeyword(const GURL& url,
// Strip "www." off the front of the keyword; otherwise the keyword won't work
// properly. See http://b/issue?id=1205573.
- return net_util::StripWWW(UTF8ToWide(url.host()));
+ return net::StripWWW(UTF8ToWide(url.host()));
}
// static
@@ -195,7 +195,7 @@ std::wstring TemplateURLModel::CleanUserInputKeyword(
}
// Remove leading "www.".
- result = net_util::StripWWW(result);
+ result = net::StripWWW(result);
// Remove trailing "/".
return (result.length() > 0 && result[result.length() - 1] == L'/') ?