summaryrefslogtreecommitdiffstats
path: root/net/base
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-10 19:02:39 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-10 19:02:39 +0000
commitf247be8aafd98e9df4b5f9cb4c3641b8e02b5685 (patch)
tree4a991337df7a552869666c2873809075b13b2157 /net/base
parentcccb18d27e0243f20539d4450c0d21ee2ab2a200 (diff)
downloadchromium_src-f247be8aafd98e9df4b5f9cb4c3641b8e02b5685.zip
chromium_src-f247be8aafd98e9df4b5f9cb4c3641b8e02b5685.tar.gz
chromium_src-f247be8aafd98e9df4b5f9cb4c3641b8e02b5685.tar.bz2
Get rid of unused function, UTF8ToFilePathString.
BUG=none TEST=none Original patch by hayato@google.com via: http://codereview.chromium.org/384003 Review URL: http://codereview.chromium.org/388010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31579 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r--net/base/net_util.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/net/base/net_util.cc b/net/base/net_util.cc
index 9171e54..309fda7 100644
--- a/net/base/net_util.cc
+++ b/net/base/net_util.cc
@@ -750,18 +750,6 @@ std::wstring FormatViewSourceUrl(const GURL& url,
return result;
}
-// Converts a UTF-8 string to a FilePath string type.
-//
-// This is inline with the hope that the function will be "free" on non-Windows
-// platforms.
-inline FilePath::StringType UTF8ToFilePathString(const std::string& utf8) {
-#if defined(OS_WIN)
- return FilePath::StringType(UTF8ToUTF16(utf8));
-#else
- return utf8;
-#endif
-}
-
} // namespace
namespace net {