| Index: webkit/fileapi/syncable/canned_syncable_file_system.cc
|
| diff --git a/webkit/fileapi/syncable/canned_syncable_file_system.cc b/webkit/fileapi/syncable/canned_syncable_file_system.cc
|
| index 6ba8c074ab887b7fd01d55d5db0e32d6a634de3e..b230e608b5853f383a52819452a4ff04c794dfb1 100644
|
| --- a/webkit/fileapi/syncable/canned_syncable_file_system.cc
|
| +++ b/webkit/fileapi/syncable/canned_syncable_file_system.cc
|
| @@ -292,6 +292,18 @@ PlatformFileError CannedSyncableFileSystem::TruncateFile(
|
| base::Unretained(this), url, size));
|
| }
|
|
|
| +PlatformFileError CannedSyncableFileSystem::TouchFile(
|
| + const FileSystemURL& url,
|
| + const base::Time& last_access_time,
|
| + const base::Time& last_modified_time) {
|
| + return RunOnThread<PlatformFileError>(
|
| + io_task_runner_,
|
| + FROM_HERE,
|
| + base::Bind(&CannedSyncableFileSystem::DoTouchFile,
|
| + base::Unretained(this), url,
|
| + last_access_time, last_modified_time));
|
| +}
|
| +
|
| PlatformFileError CannedSyncableFileSystem::Remove(
|
| const FileSystemURL& url, bool recursive) {
|
| return RunOnThread<PlatformFileError>(
|
| @@ -438,6 +450,16 @@ void CannedSyncableFileSystem::DoTruncateFile(
|
| NewOperation()->Truncate(url, size, callback);
|
| }
|
|
|
| +void CannedSyncableFileSystem::DoTouchFile(
|
| + const FileSystemURL& url,
|
| + const base::Time& last_access_time,
|
| + const base::Time& last_modified_time,
|
| + const StatusCallback& callback) {
|
| + EXPECT_TRUE(is_filesystem_opened_);
|
| + NewOperation()->TouchFile(url, last_access_time,
|
| + last_modified_time, callback);
|
| +}
|
| +
|
| void CannedSyncableFileSystem::DoRemove(
|
| const FileSystemURL& url, bool recursive,
|
| const StatusCallback& callback) {
|
|
|