From a38b8719287643f591d4539b43f661008d28bbfd Mon Sep 17 00:00:00 2001 From: "erikkay@google.com" Date: Tue, 23 Dec 2008 23:25:31 +0000 Subject: Reverting 7423. After talking with Darin, I'm convinced this was a bad idea. The issue is that Linux can't actually know the encoding of the file (bad Linux!), so on Linux this method is nonsensical. It also turns out to not be useful for the case I thought I needed it for. Review URL: http://codereview.chromium.org/16252 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7455 0039d316-1c4b-4281-b951-d872f2087c98 --- base/file_path.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'base/file_path.h') diff --git a/base/file_path.h b/base/file_path.h index 6d57c97..cadf2cf 100644 --- a/base/file_path.h +++ b/base/file_path.h @@ -132,10 +132,6 @@ class FilePath { const StringType& value() const { return path_; } - // Returns value() encoded as a UTF8 std::string. Be careful to not use this - // in places that use filesystem APIs as it won't be portable. - const std::string UTF8Value() const; - // Returns true if |character| is in kSeparators. static bool IsSeparator(CharType character); -- cgit v1.1