summaryrefslogtreecommitdiffstats
path: root/base/file_path.h
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-17 21:01:19 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-17 21:01:19 +0000
commita9cd2a6531ed01e92ee81b136754ba00165c58cd (patch)
tree8bb8dc02ff53d9219cf8c879aaa397ac9d2709fc /base/file_path.h
parent9ebffa3ea23c296d83863231eb0d58e01a56d439 (diff)
downloadchromium_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.h4
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