Chromium Code Reviews| Index: base/file_util.h |
| diff --git a/base/file_util.h b/base/file_util.h |
| index b6e634d6e1871dbcaec28f6a6e9e6cb859d9fc26..ed230f898aebdeeaec1fe0ae6de5c0abb1160bc8 100644 |
| --- a/base/file_util.h |
| +++ b/base/file_util.h |
| @@ -117,6 +117,7 @@ BASE_EXPORT bool DeleteAfterReboot(const FilePath& path); |
| // If a simple rename is not possible, such as in the case where the paths are |
| // on different volumes, this will attempt to copy and delete. Returns |
| // true for success. |
| +// If |to_path| already exists, it is overwritten. |
|
gab
2012/04/27 01:40:21
This is already the current behavior, but I needed
|
| BASE_EXPORT bool Move(const FilePath& from_path, const FilePath& to_path); |
| // Renames file |from_path| to |to_path|. Both paths must be on the same |