| Index: Source/core/loader/WorkerThreadableLoader.h
|
| diff --git a/Source/core/loader/WorkerThreadableLoader.h b/Source/core/loader/WorkerThreadableLoader.h
|
| index 847d8267abc4096260d35f715cd65a58dd62f651..feb8f5428cb2908868e7516665d3f05995114cca 100644
|
| --- a/Source/core/loader/WorkerThreadableLoader.h
|
| +++ b/Source/core/loader/WorkerThreadableLoader.h
|
| @@ -61,6 +61,8 @@ namespace WebCore {
|
|
|
| virtual ~WorkerThreadableLoader();
|
|
|
| + virtual void overrideTimeout(unsigned long timeout) OVERRIDE;
|
| +
|
| virtual void cancel() OVERRIDE;
|
|
|
| bool done() const { return m_workerClientWrapper->done(); }
|
| @@ -89,6 +91,7 @@ namespace WebCore {
|
| public:
|
| // All executed on the worker context's thread.
|
| MainThreadBridge(PassRefPtr<ThreadableLoaderClientWrapper>, PassOwnPtr<ThreadableLoaderClient>, WorkerLoaderProxy&, const ResourceRequest&, const ThreadableLoaderOptions&, const String& outgoingReferrer);
|
| + void overrideTimeout(unsigned long timeoutMilliseconds);
|
| void cancel();
|
| void destroy();
|
|
|
| @@ -101,6 +104,7 @@ namespace WebCore {
|
| virtual ~MainThreadBridge();
|
|
|
| static void mainThreadCreateLoader(ExecutionContext*, MainThreadBridge*, PassOwnPtr<CrossThreadResourceRequestData>, ThreadableLoaderOptions, const String& outgoingReferrer);
|
| + static void mainThreadOverrideTimeout(ExecutionContext*, MainThreadBridge*, unsigned long timeoutMilliseconds);
|
| static void mainThreadCancel(ExecutionContext*, MainThreadBridge*);
|
| virtual void didSendData(unsigned long long bytesSent, unsigned long long totalBytesToBeSent) OVERRIDE;
|
| virtual void didReceiveResponse(unsigned long identifier, const ResourceResponse&) OVERRIDE;
|
|
|