summaryrefslogtreecommitdiffstats
path: root/base/platform_file_win.cc
diff options
context:
space:
mode:
authorgspencer@chromium.org <gspencer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-30 00:43:37 +0000
committergspencer@chromium.org <gspencer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-30 00:43:37 +0000
commit2e733d10715fe3fd5bffd60e345f5999ae225000 (patch)
tree9839ff0aaf6f481d530c91df41f6358333ad0db9 /base/platform_file_win.cc
parentefe3ddc3dde5349e50a96bd445a0d6569215a139 (diff)
downloadchromium_src-2e733d10715fe3fd5bffd60e345f5999ae225000.zip
chromium_src-2e733d10715fe3fd5bffd60e345f5999ae225000.tar.gz
chromium_src-2e733d10715fe3fd5bffd60e345f5999ae225000.tar.bz2
Some additions to support symlinks better on platforms that support them.
BUG=none TEST=Ran new unit test, passed trybots. Review URL: http://codereview.chromium.org/5349007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67631 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/platform_file_win.cc')
-rw-r--r--base/platform_file_win.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/base/platform_file_win.cc b/base/platform_file_win.cc
index 34d8e45..1398397 100644
--- a/base/platform_file_win.cc
+++ b/base/platform_file_win.cc
@@ -214,6 +214,7 @@ bool GetPlatformFileInfo(PlatformFile file, PlatformFileInfo* info) {
info->size = size.QuadPart;
info->is_directory =
file_info.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY != 0;
+ info->is_symbolic_link = false; // Windows doesn't have symbolic links.
info->last_modified = base::Time::FromFileTime(file_info.ftLastWriteTime);
info->last_accessed = base::Time::FromFileTime(file_info.ftLastAccessTime);
info->creation_time = base::Time::FromFileTime(file_info.ftCreationTime);