Index: base/file_util.h |
=================================================================== |
--- base/file_util.h (revision 3832) |
+++ base/file_util.h (working copy) |
@@ -346,8 +346,8 @@ |
DISALLOW_EVIL_CONSTRUCTORS(FileEnumerator); |
}; |
-// Renames a file using the MoveFileEx API and ensures that the target file gets |
-// the correct security descriptor in the new path. |
+// Renames a file using the SHFileOperation API to ensures that the target file |
Paul Godavari
2008/10/25 00:42:16
'ensure'
|
+// gets the correct default security descriptor in the new path. |
bool RenameFileAndResetSecurityDescriptor( |
const std::wstring& source_file_path, |
const std::wstring& target_file_path); |