summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-21 21:53:29 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-21 21:53:29 +0000
commit9cd885f4cf5525e3cbb66e4a1a7460217dea0d78 (patch)
tree6cb45bdbfca7632a428cea4220ca06b39bd58a3a
parent84b604b1b6950eceb84e664d3e93567b6aab22b3 (diff)
downloadchromium_src-9cd885f4cf5525e3cbb66e4a1a7460217dea0d78.zip
chromium_src-9cd885f4cf5525e3cbb66e4a1a7460217dea0d78.tar.gz
chromium_src-9cd885f4cf5525e3cbb66e4a1a7460217dea0d78.tar.bz2
Remove deprecated version of GetCurrentDirectory.
BUG=24672 Review URL: http://codereview.chromium.org/1751005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45247 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--base/file_util.cc7
-rw-r--r--base/file_util_deprecated.h1
2 files changed, 0 insertions, 8 deletions
diff --git a/base/file_util.cc b/base/file_util.cc
index 95f334e..79921ff 100644
--- a/base/file_util.cc
+++ b/base/file_util.cc
@@ -375,13 +375,6 @@ bool Delete(const std::wstring& path, bool recursive) {
bool EndsWithSeparator(const std::wstring& path) {
return EndsWithSeparator(FilePath::FromWStringHack(path));
}
-bool GetCurrentDirectory(std::wstring* path_str) {
- FilePath path;
- if (!GetCurrentDirectory(&path))
- return false;
- *path_str = path.ToWStringHack();
- return true;
-}
std::wstring GetFileExtensionFromPath(const std::wstring& path) {
FilePath::StringType extension =
GetFileExtensionFromPath(FilePath::FromWStringHack(path));
diff --git a/base/file_util_deprecated.h b/base/file_util_deprecated.h
index 9fad79c..9a8c5bf 100644
--- a/base/file_util_deprecated.h
+++ b/base/file_util_deprecated.h
@@ -49,7 +49,6 @@ FILE* OpenFile(const std::string& filename, const char* mode);
FILE* OpenFile(const std::wstring& filename, const char* mode);
int ReadFile(const std::wstring& filename, char* data, int size);
int WriteFile(const std::wstring& filename, const char* data, int size);
-bool GetCurrentDirectory(std::wstring* path);
// Functions successfully deprecated on non-Windows, but Win-specific
// callers remain.