diff options
Diffstat (limited to 'base/file_path.h')
-rw-r--r-- | base/file_path.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/base/file_path.h b/base/file_path.h index 7dd2a71..6bb426f 100644 --- a/base/file_path.h +++ b/base/file_path.h @@ -116,6 +116,10 @@ class FilePath { return *this; } + bool operator==(const FilePath& that) const { + return path_ == that.path_; + } + const StringType& value() const { return path_; } // Returns a FilePath corresponding to the directory containing the path |