diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-09 03:08:50 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-09 03:08:50 +0000 |
commit | 309b764b38f67d23f8b12488e6d1f542ca19b13e (patch) | |
tree | b019a2748608482494160615527d50397f3514e5 /base | |
parent | 784cee8f1792d709d0063ab683860492e9e4332e (diff) | |
download | chromium_src-309b764b38f67d23f8b12488e6d1f542ca19b13e.zip chromium_src-309b764b38f67d23f8b12488e6d1f542ca19b13e.tar.gz chromium_src-309b764b38f67d23f8b12488e6d1f542ca19b13e.tar.bz2 |
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
Diffstat (limited to 'base')
-rw-r--r-- | base/file_util.cc | 3 | ||||
-rw-r--r-- | base/file_util.h | 2 |
2 files changed, 0 insertions, 5 deletions
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); |