Index: webkit/chromeos/fileapi/remote_file_system_operation.cc |
diff --git a/webkit/chromeos/fileapi/remote_file_system_operation.cc b/webkit/chromeos/fileapi/remote_file_system_operation.cc |
index cfe457e4eabaf016bcb83bd1221f7766d86836d7..f90aae968cc17b5fe96760107ac48fbc1b0ec27d 100644 |
--- a/webkit/chromeos/fileapi/remote_file_system_operation.cc |
+++ b/webkit/chromeos/fileapi/remote_file_system_operation.cc |
@@ -176,6 +176,15 @@ void RemoteFileSystemOperation::OpenFile(const FileSystemURL& url, |
base::Owned(this), callback)); |
} |
+void RemoteFileSystemOperation::NotifyCloseFile( |
+ const fileapi::FileSystemURL& url) { |
+ DCHECK(SetPendingOperationType(kOperationCloseFile)); |
+ remote_proxy_->NotifyCloseFile(url); |
+ // Unlike other operations, NotifyCloseFile does not require callback. |
+ // So it must be deleted here right now. |
+ delete this; |
+} |
+ |
fileapi::FileSystemOperation* |
RemoteFileSystemOperation::AsFileSystemOperation() { |
NOTIMPLEMENTED(); |