Index: webkit/browser/fileapi/file_system_operation.h |
diff --git a/webkit/browser/fileapi/file_system_operation.h b/webkit/browser/fileapi/file_system_operation.h |
index b901f1e2b8399b2d4148d6bfa2014120e5eae925..8cc015e5ba9b4e00ae5d81fc2659476e04918260 100644 |
--- a/webkit/browser/fileapi/file_system_operation.h |
+++ b/webkit/browser/fileapi/file_system_operation.h |
@@ -47,12 +47,12 @@ class LocalFileSystemOperation; |
// GetMetadata, ReadDirectory and Remove) may be called during the |
// lifetime of this object and it should be called no more than once. |
// |
-// 2) Be self-destructed, or get deleted via base::Owned() after the |
-// operation finishes and completion callback is called. |
-// |
-// 3) Deliver the results of operations to the client via the callback function |
+// 2) Deliver the results of operations to the client via the callback function |
// passed as the last parameter of the method. |
// |
+// Note that it is valid to delete an operation while it is running. |
+// The callback will NOT be fired if the operation is deleted before |
+// it gets called. |
class FileSystemOperation { |
public: |
virtual ~FileSystemOperation() {} |