Index: webkit/browser/fileapi/file_system_operation_runner.h |
diff --git a/webkit/browser/fileapi/file_system_operation_runner.h b/webkit/browser/fileapi/file_system_operation_runner.h |
index 9c2dd856a1f2f2065458b07563bc91a4544af276..41e33000814c3b80e6c4fd72339746fe67fcc289 100644 |
--- a/webkit/browser/fileapi/file_system_operation_runner.h |
+++ b/webkit/browser/fileapi/file_system_operation_runner.h |
@@ -49,6 +49,9 @@ class WEBKIT_STORAGE_EXPORT FileSystemOperationRunner |
virtual ~FileSystemOperationRunner(); |
+ // Cancels all inflight operations. |
+ void Shutdown(); |
+ |
// Creates a file at |url|. If |exclusive| is true, an error is raised |
// in case a file is already present at the URL. |
OperationID CreateFile(const FileSystemURL& url, |
@@ -276,7 +279,7 @@ class WEBKIT_STORAGE_EXPORT FileSystemOperationRunner |
FileSystemContext* file_system_context_; |
// IDMap<FileSystemOperation, IDMapOwnPointer> operations_; |
- IDMap<FileSystemOperation> operations_; |
+ IDMap<FileSystemOperation, IDMapOwnPointer> operations_; |
// We keep track of the file to be modified by each operation so that |
// we can notify observers when we're done. |