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

Unified Diff: WebKit/chromium/src/WebFileSystemCallbacksImpl.h

Issue 11192017: ********** WebCore blob hacking (Closed) Base URL: http://svn.webkit.org/repository/webkit/trunk/Source/
Patch Set: Created 8 years 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/chromium/src/WebFileSystemCallbacksImpl.h
===================================================================
--- WebKit/chromium/src/WebFileSystemCallbacksImpl.h (revision 136547)
+++ WebKit/chromium/src/WebFileSystemCallbacksImpl.h (working copy)
@@ -40,6 +40,7 @@
namespace WebCore {
class AsyncFileSystemCallbacks;
+class BlobDataHandle;
class ScriptExecutionContext;
}
@@ -57,10 +58,16 @@
virtual void didSucceed();
virtual void didReadMetadata(const WebFileInfo& info);
+ virtual void didCreateSnapshotFile(const WebFileInfo& info);
virtual void didReadDirectory(const WebVector<WebFileSystemEntry>& entries, bool hasMore);
virtual void didOpenFileSystem(const WebString& name, const WebURL& rootURL);
virtual void didFail(WebFileError error);
+ // This internal overload is used by WorkerFileSystemCallbacksBridge to deliver a blob data handle
+ // created on the main thread to an AsyncFileSystemCallback on a background worker thread. The other
+ // virtual method is invoked by the embedder.
+ void didCreateSnapshotFile(const WebFileInfo& info, PassRefPtr<WebCore::BlobDataHandle> snapshot);
+
private:
OwnPtr<WebCore::AsyncFileSystemCallbacks> m_callbacks;

Powered by Google App Engine
This is Rietveld 408576698