| Index: base/files/file_path.h
|
| diff --git a/base/files/file_path.h b/base/files/file_path.h
|
| index cf3dc620e3760def439a37b21668236e85d52c83..d66d631b7daa5d2191006448f66c3001c218aa4c 100644
|
| --- a/base/files/file_path.h
|
| +++ b/base/files/file_path.h
|
| @@ -285,6 +285,13 @@ class BASE_EXPORT FilePath {
|
| // platforms, an absolute path begins with a separator character.
|
| bool IsAbsolute() const;
|
|
|
| + // Returns true if the patch ends with a path separator character.
|
| + bool EndsWithSeparator() const WARN_UNUSED_RESULT;
|
| +
|
| + // Returns a copy of this FilePath that ends with a trailing separator. If
|
| + // the input path is empty, an empty FilePath will be returned.
|
| + FilePath AsEndingWithSeparator() const WARN_UNUSED_RESULT;
|
| +
|
| // Returns a copy of this FilePath that does not end with a trailing
|
| // separator.
|
| FilePath StripTrailingSeparators() const WARN_UNUSED_RESULT;
|
|
|