Index: webrtc/base/win32filesystem.cc |
diff --git a/webrtc/base/win32filesystem.cc b/webrtc/base/win32filesystem.cc |
index faca8e9c08fb80536017173a639269cac2e1f054..5445140ef2b1d8655440b20614b7c93c3bd248a8 100644 |
--- a/webrtc/base/win32filesystem.cc |
+++ b/webrtc/base/win32filesystem.cc |
@@ -152,26 +152,4 @@ bool Win32Filesystem::GetFileSize(const Pathname &pathname, size_t *size) { |
return true; |
} |
-bool Win32Filesystem::GetFileTime(const Pathname& path, FileTimeType which, |
- time_t* time) { |
- WIN32_FILE_ATTRIBUTE_DATA data = {0}; |
- if (::GetFileAttributesEx(ToUtf16(path.pathname()).c_str(), |
- GetFileExInfoStandard, &data) == 0) |
- return false; |
- switch (which) { |
- case FTT_CREATED: |
- FileTimeToUnixTime(data.ftCreationTime, time); |
- break; |
- case FTT_MODIFIED: |
- FileTimeToUnixTime(data.ftLastWriteTime, time); |
- break; |
- case FTT_ACCESSED: |
- FileTimeToUnixTime(data.ftLastAccessTime, time); |
- break; |
- default: |
- return false; |
- } |
- return true; |
-} |
- |
} // namespace rtc |