diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-18 17:35:24 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-18 17:35:24 +0000 |
commit | f4c6499a37788cd2bc2c4781f005ad2c03fd47e7 (patch) | |
tree | b39c30d15d470617ecbb695e7fc3b48791f4becc /base/file_util.h | |
parent | 9a514902f55117eae04a60f917905e33e9914d32 (diff) | |
download | chromium_src-f4c6499a37788cd2bc2c4781f005ad2c03fd47e7.zip chromium_src-f4c6499a37788cd2bc2c4781f005ad2c03fd47e7.tar.gz chromium_src-f4c6499a37788cd2bc2c4781f005ad2c03fd47e7.tar.bz2 |
Revert "Add file_util::ReplaceFile and use it in ImportantFileWriter."
http://crbug.com/11585
TBR=stoyan
Review URL: http://codereview.chromium.org/113534
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16296 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_util.h')
-rw-r--r-- | base/file_util.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/base/file_util.h b/base/file_util.h index c51e1a0..a3c9a6e 100644 --- a/base/file_util.h +++ b/base/file_util.h @@ -160,13 +160,6 @@ bool Move(const FilePath& from_path, const FilePath& to_path); // Deprecated temporary compatibility function. bool Move(const std::wstring& from_path, const std::wstring& to_path); -// Renames file |from_path| to |to_path|. Both paths must be on the same -// volume, or the function will fail. Destination file will be created -// if it doesn't exist. Prefer this function over Move when dealing with -// temporary files. On Windows it preserves attributes of the target file. -// Returns true on success. -bool ReplaceFile(const FilePath& from_path, const FilePath& to_path); - // Copies a single file. Use CopyDirectory to copy directories. bool CopyFile(const FilePath& from_path, const FilePath& to_path); // Deprecated temporary compatibility function. |