From a9cd2a6531ed01e92ee81b136754ba00165c58cd Mon Sep 17 00:00:00 2001 From: "estade@chromium.org" Date: Mon, 17 Nov 2008 21:01:19 +0000 Subject: 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 --- base/file_path.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'base/file_path.h') 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 -- cgit v1.1