| 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..24689fbbb074f14e6a90ec4c3920b43b6049cf77 100644
|
| --- a/webkit/fileapi/file_system_operation_interface.h
|
| +++ b/webkit/fileapi/file_system_operation_interface.h
|
| @@ -225,6 +225,16 @@ class FileSystemOperationInterface {
|
| base::ProcessHandle peer_handle,
|
| const OpenFileCallback& callback) = 0;
|
|
|
| + // Signals that the file at |path|, which was previously opened with
|
| + // OpenFile() call, has been closed by the caller.
|
| + //
|
| + // This function is used to give remote file systems providers opportunity to
|
| + // process locally modified files.
|
| + //
|
| + // This function is used only by Pepper as of writing.
|
| + virtual void NotifyFileClosed(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.
|
| @@ -261,6 +271,7 @@ class FileSystemOperationInterface {
|
| kOperationOpenFile,
|
| kOperationGetLocalPath,
|
| kOperationCancel,
|
| + kOperationFileClosed,
|
| };
|
| };
|
|
|
|
|