| Index: base/file_util_win.cc
|
| diff --git a/base/file_util_win.cc b/base/file_util_win.cc
|
| index c5b2711d9c3e5860a649d810834fa8f2c9ba3bf3..2fd2399aa6391c2021edba9336ed89b7aa624d3c 100644
|
| --- a/base/file_util_win.cc
|
| +++ b/base/file_util_win.cc
|
| @@ -302,32 +302,6 @@ bool DirectoryExists(const FilePath& path) {
|
| return false;
|
| }
|
|
|
| -bool GetFileCreationLocalTimeFromHandle(HANDLE file_handle,
|
| - LPSYSTEMTIME creation_time) {
|
| - base::ThreadRestrictions::AssertIOAllowed();
|
| - if (!file_handle)
|
| - return false;
|
| -
|
| - FILETIME utc_filetime;
|
| - if (!GetFileTime(file_handle, &utc_filetime, NULL, NULL))
|
| - return false;
|
| -
|
| - FILETIME local_filetime;
|
| - if (!FileTimeToLocalFileTime(&utc_filetime, &local_filetime))
|
| - return false;
|
| -
|
| - return !!FileTimeToSystemTime(&local_filetime, creation_time);
|
| -}
|
| -
|
| -bool GetFileCreationLocalTime(const std::wstring& filename,
|
| - LPSYSTEMTIME creation_time) {
|
| - base::ThreadRestrictions::AssertIOAllowed();
|
| - base::win::ScopedHandle file_handle(
|
| - CreateFile(filename.c_str(), GENERIC_READ, kFileShareAll, NULL,
|
| - OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL));
|
| - return GetFileCreationLocalTimeFromHandle(file_handle.Get(), creation_time);
|
| -}
|
| -
|
| bool GetTempDir(FilePath* path) {
|
| base::ThreadRestrictions::AssertIOAllowed();
|
|
|
|
|