summaryrefslogtreecommitdiffstats
path: root/base/file_util.cc
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-21 22:59:05 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-21 22:59:05 +0000
commit33eb5ad09b9cc9fe9f1fb95c4ba41ace5c3b6bc8 (patch)
tree8529954cf39744ce032cbb11013167da1cd3798b /base/file_util.cc
parentba6332442ae92c544eb6629c8604c608d6aeb5cd (diff)
downloadchromium_src-33eb5ad09b9cc9fe9f1fb95c4ba41ace5c3b6bc8.zip
chromium_src-33eb5ad09b9cc9fe9f1fb95c4ba41ace5c3b6bc8.tar.gz
chromium_src-33eb5ad09b9cc9fe9f1fb95c4ba41ace5c3b6bc8.tar.bz2
Stop using and remove deprecated file_util::TrimTrailingSeparator().
Review URL: http://codereview.chromium.org/67271 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14152 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_util.cc')
-rw-r--r--base/file_util.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/base/file_util.cc b/base/file_util.cc
index ab0ae58..1bf4d5e 100644
--- a/base/file_util.cc
+++ b/base/file_util.cc
@@ -76,11 +76,6 @@ bool EnsureEndsWithSeparator(FilePath* path) {
return true;
}
-void TrimTrailingSeparator(std::wstring* dir) {
- while (dir->length() > 1 && EndsWithSeparator(dir))
- dir->resize(dir->length() - 1);
-}
-
FilePath::StringType GetFileExtensionFromPath(const FilePath& path) {
FilePath::StringType file_name = path.BaseName().value();
const FilePath::StringType::size_type last_dot =