Index: WebCore/platform/AsyncFileSystemCallbacks.h |
=================================================================== |
--- WebCore/platform/AsyncFileSystemCallbacks.h (revision 140218) |
+++ WebCore/platform/AsyncFileSystemCallbacks.h (working copy) |
@@ -35,11 +35,14 @@ |
#include "AsyncFileSystem.h" |
#include "AsyncFileWriter.h" |
+#include "BlobData.h" |
#include "FileMetadata.h" |
#include <wtf/text/WTFString.h> |
namespace WebCore { |
+class BlobDataHandle; |
+ |
class AsyncFileSystemCallbacks { |
WTF_MAKE_NONCOPYABLE(AsyncFileSystemCallbacks); |
public: |
@@ -54,6 +57,9 @@ |
// Called when a file metadata is read successfully. |
virtual void didReadMetadata(const FileMetadata&) { ASSERT_NOT_REACHED(); } |
+ // Called when a snapshot file is created successfully. |
+ virtual void didCreateSnapshotFile(const FileMetadata&, PassRefPtr<BlobDataHandle> snapshot) { ASSERT_NOT_REACHED(); } |
+ |
// Called when a directory entry is read. |
virtual void didReadDirectoryEntry(const String& name, bool isDirectory) { ASSERT_NOT_REACHED(); } |