summaryrefslogtreecommitdiffstats
path: root/base/file_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/file_util.h')
-rw-r--r--base/file_util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/file_util.h b/base/file_util.h
index 150b629..8594d28 100644
--- a/base/file_util.h
+++ b/base/file_util.h
@@ -346,8 +346,8 @@ class FileEnumerator {
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 ensure that the target file
+// gets the correct default security descriptor in the new path.
bool RenameFileAndResetSecurityDescriptor(
const std::wstring& source_file_path,
const std::wstring& target_file_path);