summaryrefslogtreecommitdiffstats
path: root/net/base/net_util.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-17 23:13:58 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-17 23:13:58 +0000
commitb75d4baceaa3fb0c3be1aad851e9cb594e1ce4f5 (patch)
tree72b910f29af445511e233ed76806de0e4b8bd51a /net/base/net_util.cc
parentf90c870feb546e5e11481c8835329cf0efc8733d (diff)
downloadchromium_src-b75d4baceaa3fb0c3be1aad851e9cb594e1ce4f5.zip
chromium_src-b75d4baceaa3fb0c3be1aad851e9cb594e1ce4f5.tar.gz
chromium_src-b75d4baceaa3fb0c3be1aad851e9cb594e1ce4f5.tar.bz2
Move IsStringASCII/UTF8 to base namespace.
Use StringPiece for IsStringUTF8. TBR=sky Review URL: https://codereview.chromium.org/196793010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257524 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/net_util.cc')
-rw-r--r--net/base/net_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/base/net_util.cc b/net/base/net_util.cc
index 0174c65..7e3e514 100644
--- a/net/base/net_util.cc
+++ b/net/base/net_util.cc
@@ -802,7 +802,7 @@ std::string GetFileNameFromURL(const GURL& url,
// The URL's path should be escaped UTF-8, but may not be.
std::string decoded_filename = unescaped_url_filename;
- if (!IsStringUTF8(decoded_filename)) {
+ if (!base::IsStringUTF8(decoded_filename)) {
// TODO(jshin): this is probably not robust enough. To be sure, we need
// encoding detection.
base::string16 utf16_output;