| Index: webkit/fileapi/sandboxed_file_system_operation.cc
|
| diff --git a/webkit/fileapi/sandboxed_file_system_operation.cc b/webkit/fileapi/sandboxed_file_system_operation.cc
|
| index fc77ce319a6a00182cb14adbce171a72ff396fa7..dfc2884f677e1745c9fd9dda54de14dfa5d02c4f 100644
|
| --- a/webkit/fileapi/sandboxed_file_system_operation.cc
|
| +++ b/webkit/fileapi/sandboxed_file_system_operation.cc
|
| @@ -115,9 +115,10 @@ void SandboxedFileSystemOperation::Truncate(
|
| FileSystemOperation::Truncate(path, length);
|
| }
|
|
|
| -void SandboxedFileSystemOperation::TouchFile(const FilePath& path,
|
| - const base::Time& last_access_time,
|
| - const base::Time& last_modified_time) {
|
| +void SandboxedFileSystemOperation::TouchFile(
|
| + const FilePath& path,
|
| + const base::Time& last_access_time,
|
| + const base::Time& last_modified_time) {
|
| if (!VerifyFileSystemPathForWrite(path, true /* create */, 0))
|
| return;
|
| FileSystemOperation::TouchFile(path, last_access_time, last_modified_time);
|
| @@ -171,14 +172,4 @@ bool SandboxedFileSystemOperation::VerifyFileSystemPathForWrite(
|
| return true;
|
| }
|
|
|
| -bool SandboxedFileSystemOperation::CheckIfFilePathIsSafe(
|
| - const FilePath& path) {
|
| - if (file_system_context_->path_manager()->IsRestrictedFileName(
|
| - path.BaseName())) {
|
| - dispatcher()->DidFail(base::PLATFORM_FILE_ERROR_SECURITY);
|
| - return false;
|
| - }
|
| - return true;
|
| -}
|
| -
|
| } // namespace fileapi
|
|
|