diff options
Diffstat (limited to 'base/file_util_posix.cc')
-rw-r--r-- | base/file_util_posix.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/base/file_util_posix.cc b/base/file_util_posix.cc index 99e15fe..3709afd 100644 --- a/base/file_util_posix.cc +++ b/base/file_util_posix.cc @@ -486,13 +486,6 @@ bool GetFileInfo(const FilePath& file_path, base::PlatformFileInfo* results) { return true; } -bool SetLastModifiedTime(const FilePath& file_path, base::Time last_modified) { - struct timeval times[2]; - times[0] = last_modified.ToTimeVal(); - times[1] = last_modified.ToTimeVal(); - return (utimes(file_path.value().c_str(), times) == 0); -} - bool GetInode(const FilePath& path, ino_t* inode) { struct stat buffer; int result = stat(path.value().c_str(), &buffer); |