summaryrefslogtreecommitdiffstats
path: root/base/file_util_win.cc
diff options
context:
space:
mode:
authorojan@chromium.org <ojan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-03 08:58:48 +0000
committerojan@chromium.org <ojan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-03 08:58:48 +0000
commit5775257334a0fc605d27312556ad3123d5909865 (patch)
tree042d664d85ff50ca5d5bf104efad38115e3e4ec3 /base/file_util_win.cc
parent3b00779a8511730abc3935e0f971b7cbdcbc0408 (diff)
downloadchromium_src-5775257334a0fc605d27312556ad3123d5909865.zip
chromium_src-5775257334a0fc605d27312556ad3123d5909865.tar.gz
chromium_src-5775257334a0fc605d27312556ad3123d5909865.tar.bz2
Removes the following deprecated functions:
file_util::InsertBeforeExtension(wstring*, wstring&) file_util::PathComponents(wstring&, vector<wstring>*) file_util::ReplaceExtension(wstring*, wstring&) BUG=none TEST=manual test for importing IE bookmarks with some sub-directories. Original patch by tkent@google.com. See http://codereview.chromium.org/118109 r=ojan,estade git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17469 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_util_win.cc')
-rw-r--r--base/file_util_win.cc17
1 files changed, 0 insertions, 17 deletions
diff --git a/base/file_util_win.cc b/base/file_util_win.cc
index 77247a4..f59f87d 100644
--- a/base/file_util_win.cc
+++ b/base/file_util_win.cc
@@ -809,21 +809,4 @@ void MemoryMappedFile::CloseHandles() {
length_ = INVALID_FILE_SIZE;
}
-// Deprecated functions ----------------------------------------------------
-
-void InsertBeforeExtension(std::wstring* path_str,
- const std::wstring& suffix) {
- FilePath path(*path_str);
- InsertBeforeExtension(&path, suffix);
- path_str->assign(path.value());
-}
-void PathComponents(const std::wstring& path,
- std::vector<std::wstring>* components) {
- PathComponents(FilePath(path), components);
-}
-void ReplaceExtension(std::wstring* file_name, const std::wstring& extension) {
- FilePath path(*file_name);
- ReplaceExtension(&path, extension);
- file_name->assign(path.value());
-}
} // namespace file_util