summaryrefslogtreecommitdiffstats
path: root/base/file_util_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/file_util_win.cc')
-rw-r--r--base/file_util_win.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/file_util_win.cc b/base/file_util_win.cc
index 91b9e2b..c83322e 100644
--- a/base/file_util_win.cc
+++ b/base/file_util_win.cc
@@ -547,6 +547,8 @@ bool GetFileInfo(const FilePath& file_path, FileInfo* results) {
results->is_directory =
(attr.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) != 0;
+ results->last_modified = base::Time::FromFileTime(attr.ftLastWriteTime);
+
return true;
}