diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-13 09:18:34 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-13 09:18:34 +0000 |
commit | 6c8152e083e52454063fd717ecc0bb193b0c808d (patch) | |
tree | 17cdfdd9a455c4f6c2b0c39cf4e24616fcc106b9 /base/file_util.cc | |
parent | f91a6f86d1847f2335dabf4d1757c5af662c7851 (diff) | |
download | chromium_src-6c8152e083e52454063fd717ecc0bb193b0c808d.zip chromium_src-6c8152e083e52454063fd717ecc0bb193b0c808d.tar.gz chromium_src-6c8152e083e52454063fd717ecc0bb193b0c808d.tar.bz2 |
Cleanup: Remove deprecated version of file_util::AppendToPath().
BUG=24672
TEST=none
Review URL: http://codereview.chromium.org/9585001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126363 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_util.cc')
-rw-r--r-- | base/file_util.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/base/file_util.cc b/base/file_util.cc index ddb0d35..bedd23d 100644 --- a/base/file_util.cc +++ b/base/file_util.cc @@ -383,17 +383,6 @@ bool MemoryMappedFile::MapFileToMemory(const FilePath& file_name) { // Deprecated functions ---------------------------------------------------- #if defined(OS_WIN) -void AppendToPath(std::wstring* path, const std::wstring& new_ending) { - if (!path) { - NOTREACHED(); - return; // Don't crash in this function in release builds. - } - - if (!EndsWithSeparator(FilePath(*path))) - path->push_back(FilePath::kSeparators[0]); - path->append(new_ending); -} - FILE* OpenFile(const std::wstring& filename, const char* mode) { return OpenFile(FilePath::FromWStringHack(filename), mode); } |