summaryrefslogtreecommitdiffstats
path: root/base/file_path.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/file_path.h')
-rw-r--r--base/file_path.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/file_path.h b/base/file_path.h
index cadf2cf..6d57c97 100644
--- a/base/file_path.h
+++ b/base/file_path.h
@@ -132,6 +132,10 @@ 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);