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

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 7 years, 11 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
« no previous file with comments | « WebKit/chromium/src/WebBlobData.cpp ('k') | WebKit/chromium/src/WebFileSystemCallbacksImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: WebKit/chromium/src/WebFileSystemCallbacksImpl.h
===================================================================
--- WebKit/chromium/src/WebFileSystemCallbacksImpl.h (revision 140218)
+++ 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;
« no previous file with comments | « WebKit/chromium/src/WebBlobData.cpp ('k') | WebKit/chromium/src/WebFileSystemCallbacksImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698