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 29826078f070859b70420e67a4315ca4f7f672e8..fee2d228cd19f00a9a4feb9e6678e5ecf5f4c1bb 100644 |
--- a/webkit/chromeos/fileapi/remote_file_system_operation.cc |
+++ b/webkit/chromeos/fileapi/remote_file_system_operation.cc |
@@ -170,6 +170,14 @@ void RemoteFileSystemOperation::OpenFile(const GURL& path, |
base::Owned(this), callback)); |
} |
+void RemoteFileSystemOperation::NotifyCloseFile(const GURL& path) { |
+ DCHECK(SetPendingOperationType(kOperationCloseFile)); |
+ remote_proxy_->NotifyCloseFile(path); |
+ // Unlike other operations, NotifyCloseFile does not require callback. |
+ // So it must be deleted here right now. |
+ delete this; |
+} |
+ |
fileapi::FileSystemOperation* |
RemoteFileSystemOperation::AsFileSystemOperation() { |
NOTIMPLEMENTED(); |