| Index: chrome/common/file_system/file_system_dispatcher.cc
|
| ===================================================================
|
| --- chrome/common/file_system/file_system_dispatcher.cc (revision 60236)
|
| +++ chrome/common/file_system/file_system_dispatcher.cc (working copy)
|
| @@ -99,6 +99,17 @@
|
| new ViewHostMsg_FileSystem_ReadDirectory(request_id, path));
|
| }
|
|
|
| +bool FileSystemDispatcher::TouchFile(
|
| + const FilePath& path,
|
| + const base::Time& last_access_time,
|
| + const base::Time& last_modified_time,
|
| + fileapi::FileSystemCallbackDispatcher* dispatcher) {
|
| + int request_id = dispatchers_.Add(dispatcher);
|
| + return ChildThread::current()->Send(
|
| + new ViewHostMsg_FileSystem_TouchFile(
|
| + request_id, path, last_access_time, last_modified_time));
|
| +}
|
| +
|
| void FileSystemDispatcher::DidSucceed(int request_id) {
|
| fileapi::FileSystemCallbackDispatcher* dispatcher =
|
| dispatchers_.Lookup(request_id);
|
|
|