summaryrefslogtreecommitdiffstats
path: root/base/file_path.h
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-05 22:36:56 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-05 22:36:56 +0000
commit970399b3aaa0a7d76dd1743654d8e1f7aed41cec (patch)
treea28d79a6023270c5c5c46c9d651e892f5d313fae /base/file_path.h
parent749eea04dd5fd17761046e19c177735a8b9fa209 (diff)
downloadchromium_src-970399b3aaa0a7d76dd1743654d8e1f7aed41cec.zip
chromium_src-970399b3aaa0a7d76dd1743654d8e1f7aed41cec.tar.gz
chromium_src-970399b3aaa0a7d76dd1743654d8e1f7aed41cec.tar.bz2
* switch download manager to using FilePath
* add empty() function to FilePath * implement file_util::GetFileExtensionFromPath Review URL: http://codereview.chromium.org/17032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7564 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_path.h')
-rw-r--r--base/file_path.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/file_path.h b/base/file_path.h
index cadf2cf..e848510 100644
--- a/base/file_path.h
+++ b/base/file_path.h
@@ -132,6 +132,8 @@ class FilePath {
const StringType& value() const { return path_; }
+ bool empty() const { return path_.empty(); }
+
// Returns true if |character| is in kSeparators.
static bool IsSeparator(CharType character);