diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-17 21:01:19 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-17 21:01:19 +0000 |
commit | a9cd2a6531ed01e92ee81b136754ba00165c58cd (patch) | |
tree | 8bb8dc02ff53d9219cf8c879aaa397ac9d2709fc /base/file_path.h | |
parent | 9ebffa3ea23c296d83863231eb0d58e01a56d439 (diff) | |
download | chromium_src-a9cd2a6531ed01e92ee81b136754ba00165c58cd.zip chromium_src-a9cd2a6531ed01e92ee81b136754ba00165c58cd.tar.gz chromium_src-a9cd2a6531ed01e92ee81b136754ba00165c58cd.tar.bz2 |
Implement some missing file util functions.
Review URL: http://codereview.chromium.org/11208
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5571 0039d316-1c4b-4281-b951-d872f2087c98
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 |