summaryrefslogtreecommitdiffstats
path: root/base/file_util.h
diff options
context:
space:
mode:
authortkent@chromium.org <tkent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-15 05:00:25 +0000
committertkent@chromium.org <tkent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-15 05:00:25 +0000
commit2c8088a4452c2c204237ba9f2f3706e7eeaaf35b (patch)
treecc21ba5595d16b4b441206240af0606fe7fffb18 /base/file_util.h
parent1c8a50abea168e3ff3a3346387ab04936c4a3180 (diff)
downloadchromium_src-2c8088a4452c2c204237ba9f2f3706e7eeaaf35b.zip
chromium_src-2c8088a4452c2c204237ba9f2f3706e7eeaaf35b.tar.gz
chromium_src-2c8088a4452c2c204237ba9f2f3706e7eeaaf35b.tar.bz2
Remove file_util::TrimTrailingSeparators(), which is deprecated and
doesn't work well for Windows root drives. BUG=24722 TEST=existing tests are enough. Review URL: http://codereview.chromium.org/271086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29093 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_util.h')
-rw-r--r--base/file_util.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/base/file_util.h b/base/file_util.h
index 37634b9..93fdd4e 100644
--- a/base/file_util.h
+++ b/base/file_util.h
@@ -47,11 +47,6 @@ bool EndsWithSeparator(const std::wstring& path);
// exists. Returns true if |path| is an existing directory, false otherwise.
bool EnsureEndsWithSeparator(FilePath* path);
-// Modifies a string by trimming all trailing separators from the end.
-// Deprecated. FilePath does this automatically, and if it's constructed from a
-// path with a trailing separator, StripTrailingSeparators() may be used.
-void TrimTrailingSeparator(std::wstring* dir);
-
// Strips the topmost directory from the end of 'dir'. Assumes 'dir' does not
// refer to a file.
// If 'dir' is a root directory, return without change.