| Index: base/file_util.h
|
| ===================================================================
|
| --- base/file_util.h (revision 60236)
|
| +++ base/file_util.h (working copy)
|
| @@ -31,7 +31,6 @@
|
| #include "base/platform_file.h"
|
| #include "base/scoped_ptr.h"
|
| #include "base/string16.h"
|
| -#include "base/time.h"
|
|
|
| #if defined(OS_POSIX)
|
| #include "base/eintr_wrapper.h"
|
| @@ -318,8 +317,14 @@
|
| // Returns information about the given file path.
|
| bool GetFileInfo(const FilePath& file_path, base::PlatformFileInfo* info);
|
|
|
| +// Sets the time of the last access and the time of the last modification.
|
| +bool TouchFile(const FilePath& path,
|
| + const base::Time& last_accessed,
|
| + const base::Time& last_modified);
|
| +
|
| // Set the time of the last modification. Useful for unit tests.
|
| -bool SetLastModifiedTime(const FilePath& file_path, base::Time last_modified);
|
| +bool SetLastModifiedTime(const FilePath& path,
|
| + const base::Time& last_modified);
|
|
|
| #if defined(OS_POSIX)
|
| // Store inode number of |path| in |inode|. Return true on success.
|
|
|