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 d481f053736800be67a804a089439fa2aadba589..1be76479c80cd4d5ff0ce1e88ed38fe4f771d07b 100644 |
--- a/webkit/chromeos/fileapi/remote_file_system_operation.cc |
+++ b/webkit/chromeos/fileapi/remote_file_system_operation.cc |
@@ -173,6 +173,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(); |