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); |