Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1486)

Unified Diff: webkit/browser/fileapi/file_system_operation_runner.h

Issue 16413007: Make FileSystemOperation NOT self-destruct (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix browser_tests Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.
« no previous file with comments | « webkit/browser/fileapi/file_system_operation_context.h ('k') | webkit/browser/fileapi/file_system_operation_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698