| Index: base/file_util_posix.cc
|
| diff --git a/base/file_util_posix.cc b/base/file_util_posix.cc
|
| index 3709afd0f44f5c4f6b5f3ab7c9144bfc18a6d5e0..99e15fee02c5d1269669c0f113ed731d8f454725 100644
|
| --- a/base/file_util_posix.cc
|
| +++ b/base/file_util_posix.cc
|
| @@ -486,6 +486,13 @@ 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);
|
|
|