Adding a FileUtilProxy::TouchFile() method that takes a FilePath as an
argument (instead of PlatformFile).

BUG=none
TEST=none


Review URL: http://codereview.chromium.org/3380024

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60397 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: 9fae63af34efd773d1bc275909069a40789d8abf
diff --git a/base/file_util_proxy.h b/base/file_util_proxy.h
index 581738d..081c11b 100644
--- a/base/file_util_proxy.h
+++ b/base/file_util_proxy.h
@@ -155,6 +155,14 @@
       const base::Time& last_modified_time,
       StatusCallback* callback);
 
+  // Touches a file. The callback can be NULL.
+  static bool Touch(
+      scoped_refptr<MessageLoopProxy> message_loop_proxy,
+      const FilePath& file_path,
+      const base::Time& last_access_time,
+      const base::Time& last_modified_time,
+      StatusCallback* callback);
+
   // Truncates a file to the given length. If |length| is greater than the
   // current length of the file, the file will be extended with zeroes.
   // The callback can be NULL.