From 309b764b38f67d23f8b12488e6d1f542ca19b13e Mon Sep 17 00:00:00 2001 From: "estade@chromium.org" Date: Wed, 9 Dec 2009 03:08:50 +0000 Subject: Minor cleanup; remove deprecate file_util function and some obsolete TODOs. Review URL: http://codereview.chromium.org/467030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34133 0039d316-1c4b-4281-b951-d872f2087c98 --- base/file_util.cc | 3 --- base/file_util.h | 2 -- 2 files changed, 5 deletions(-) (limited to 'base') diff --git a/base/file_util.cc b/base/file_util.cc index 4f69e00..1160e39 100644 --- a/base/file_util.cc +++ b/base/file_util.cc @@ -339,9 +339,6 @@ bool CopyDirectory(const std::wstring& from_path, const std::wstring& to_path, FilePath::FromWStringHack(to_path), recursive); } -bool CreateDirectory(const std::wstring& full_path) { - return CreateDirectory(FilePath::FromWStringHack(full_path)); -} bool Delete(const std::wstring& path, bool recursive) { return Delete(FilePath::FromWStringHack(path), recursive); } diff --git a/base/file_util.h b/base/file_util.h index e97f498..7ec1dce 100644 --- a/base/file_util.h +++ b/base/file_util.h @@ -292,8 +292,6 @@ bool CreateNewTempDirectory(const FilePath::StringType& prefix, // don't exist. Returns 'true' on successful creation, or if the directory // already exists. The directory is only readable by the current user. bool CreateDirectory(const FilePath& full_path); -// Deprecated temporary compatibility function. -bool CreateDirectory(const std::wstring& full_path); // Returns the file size. Returns true on success. bool GetFileSize(const FilePath& file_path, int64* file_size); -- cgit v1.1