Index: Source/core/loader/WorkerThreadableLoader.h |
diff --git a/Source/core/loader/WorkerThreadableLoader.h b/Source/core/loader/WorkerThreadableLoader.h |
index 4eb9ac29d9e2063268eeb7172827d7df62e2f49c..210481e73edea53000a942334c68d280b3e13c41 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; |
private: |
@@ -87,6 +89,7 @@ namespace WebCore { |
public: |
// All executed on the worker context's thread. |
MainThreadBridge(PassRefPtr<ThreadableLoaderClientWrapper>, PassOwnPtr<ThreadableLoaderClient>, WorkerLoaderProxy&, const ResourceRequest&, const ThreadableLoaderOptions&, const ResourceLoaderOptions&, const String& outgoingReferrer); |
+ void overrideTimeout(unsigned long timeoutMilliseconds); |
void cancel(); |
void destroy(); |
@@ -99,6 +102,7 @@ namespace WebCore { |
virtual ~MainThreadBridge(); |
static void mainThreadCreateLoader(ExecutionContext*, MainThreadBridge*, PassOwnPtr<CrossThreadResourceRequestData>, ThreadableLoaderOptions, ResourceLoaderOptions, 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; |