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

Unified Diff: WebKit/chromium/src/WorkerFileWriterCallbacksBridge.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
Index: WebKit/chromium/src/WorkerFileWriterCallbacksBridge.h
===================================================================
--- WebKit/chromium/src/WorkerFileWriterCallbacksBridge.h (revision 140218)
+++ WebKit/chromium/src/WorkerFileWriterCallbacksBridge.h (working copy)
@@ -43,6 +43,7 @@
namespace WebCore {
class AsyncFileWriterClient;
+ class BlobDataHandle;
class KURL;
class WorkerLoaderProxy;
}
@@ -94,7 +95,7 @@
}
// Methods that create an instance and post an initial request task to the main thread. They must be called on the worker thread.
- void postWriteToMainThread(long long position, const WebCore::KURL& data);
+ void postWriteToMainThread(long long position, PassRefPtr<WebCore::BlobDataHandle> blobDataHandle);
void postTruncateToMainThread(long long length);
void postAbortToMainThread();
@@ -117,7 +118,7 @@
void postInitToMainThread(const WebCore::KURL& path);
// Methods that are to be called on the main thread.
- static void writeOnMainThread(WebCore::ScriptExecutionContext*, PassRefPtr<WorkerFileWriterCallbacksBridge>, long long position, const WebCore::KURL& data);
+ static void writeOnMainThread(WebCore::ScriptExecutionContext*, PassRefPtr<WorkerFileWriterCallbacksBridge>, long long position, PassRefPtr<WebCore::BlobDataHandle> blobDataHandle);
static void truncateOnMainThread(WebCore::ScriptExecutionContext*, PassRefPtr<WorkerFileWriterCallbacksBridge>, long long length);
static void abortOnMainThread(WebCore::ScriptExecutionContext*, PassRefPtr<WorkerFileWriterCallbacksBridge>);
static void initOnMainThread(WebCore::ScriptExecutionContext*, PassRefPtr<WorkerFileWriterCallbacksBridge>, const WebCore::KURL& path);
« no previous file with comments | « WebKit/chromium/src/WorkerFileSystemCallbacksBridge.cpp ('k') | WebKit/chromium/src/WorkerFileWriterCallbacksBridge.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698