diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-05 23:36:01 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-05 23:36:01 +0000 |
commit | 345e1b89c38bf19ebce483ae5392474bbf63ae59 (patch) | |
tree | 63f2e61cecbf1f28b876d21c3b8d6e4433220805 /base/file_path.h | |
parent | 6ee68ee792e95e2460ac1f52162f6762944d5239 (diff) | |
download | chromium_src-345e1b89c38bf19ebce483ae5392474bbf63ae59.zip chromium_src-345e1b89c38bf19ebce483ae5392474bbf63ae59.tar.gz chromium_src-345e1b89c38bf19ebce483ae5392474bbf63ae59.tar.bz2 |
Unbreak unit tests. Revert r7564.
tbr=jhawkins
Review URL: http://codereview.chromium.org/16522
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7571 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_path.h')
-rw-r--r-- | base/file_path.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/base/file_path.h b/base/file_path.h index e848510..9ba42d3 100644 --- a/base/file_path.h +++ b/base/file_path.h @@ -132,8 +132,6 @@ 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); @@ -148,7 +146,7 @@ class FilePath { // object, either a file or a directory. If this object already refers to // the root directory, returns a FilePath identifying the root directory; // this is the only situation in which BaseName will return an absolute path. - FilePath BaseName() const; + StringType BaseName() const; // Returns a FilePath by appending a separator and the supplied path // component to this object's path. Append takes care to avoid adding |