summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-25 22:11:26 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-25 22:11:26 +0000
commitaa1aad14bca48ad0b871b80267241b3a791926f8 (patch)
tree26c6ea8c63aa4ef132eb724aa3636679d55b8253 /base
parentc2a6cc970520d5d9d571f9c5d6468c1f8ae6b5bb (diff)
downloadchromium_src-aa1aad14bca48ad0b871b80267241b3a791926f8.zip
chromium_src-aa1aad14bca48ad0b871b80267241b3a791926f8.tar.gz
chromium_src-aa1aad14bca48ad0b871b80267241b3a791926f8.tar.bz2
file_util: Remove deprecated function SetCurrentDirectory.
BUG=24672 TEST=None Original Review URL: http://codereview.chromium.org/391059 Patch from Thiago Farina <thiago.farina@gmail.com>. Review URL: http://codereview.chromium.org/434093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33135 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/file_util.cc3
-rw-r--r--base/file_util.h2
2 files changed, 0 insertions, 5 deletions
diff --git a/base/file_util.cc b/base/file_util.cc
index e5c8f5a..a4bdb95 100644
--- a/base/file_util.cc
+++ b/base/file_util.cc
@@ -397,9 +397,6 @@ FILE* OpenFile(const std::wstring& filename, const char* mode) {
int ReadFile(const std::wstring& filename, char* data, int size) {
return ReadFile(FilePath::FromWStringHack(filename), data, size);
}
-bool SetCurrentDirectory(const std::wstring& directory) {
- return SetCurrentDirectory(FilePath::FromWStringHack(directory));
-}
void UpOneDirectory(std::wstring* dir) {
FilePath path = FilePath::FromWStringHack(*dir);
FilePath directory = path.DirName();
diff --git a/base/file_util.h b/base/file_util.h
index 915065e..bf5f5bf 100644
--- a/base/file_util.h
+++ b/base/file_util.h
@@ -363,8 +363,6 @@ bool GetCurrentDirectory(std::wstring* path);
// Sets the current working directory for the process.
bool SetCurrentDirectory(const FilePath& path);
-// Deprecated temporary compatibility function.
-bool SetCurrentDirectory(const std::wstring& current_directory);
// A class to handle auto-closing of FILE*'s.
class ScopedFILEClose {