Index: webkit/fileapi/file_system_operation_interface.h |
diff --git a/webkit/fileapi/file_system_operation_interface.h b/webkit/fileapi/file_system_operation_interface.h |
index 0583b9412753ec52bbe89c735318c992652afb96..6dbcc776ed4263b2944d736c2f4ec76ec27d107f 100644 |
--- a/webkit/fileapi/file_system_operation_interface.h |
+++ b/webkit/fileapi/file_system_operation_interface.h |
@@ -225,6 +225,14 @@ class FileSystemOperationInterface { |
base::ProcessHandle peer_handle, |
const OpenFileCallback& callback) = 0; |
+ // Notifies a file at |path| opened by OpenFile is closed in plugin process. |
+ // File system will run some cleanup task such as uploading the modified file |
+ // content to a remote storage. |
+ // |
+ // This function is used only by Pepper as of writing. |
+ virtual void NotifyCloseFile(const GURL& path, |
+ const StatusCallback& callback) = 0; |
+ |
// For downcasting to FileSystemOperation. |
// TODO(kinuko): this hack should go away once appropriate upload-stream |
// handling based on element types is supported. |