Index: Source/core/loader/ThreadableLoader.h |
diff --git a/Source/core/loader/ThreadableLoader.h b/Source/core/loader/ThreadableLoader.h |
index f562551f623e1363ec8e76599091826bc9b8553d..530bf8aac859648cbe8bdd291ca70eaf2be6b9ab 100644 |
--- a/Source/core/loader/ThreadableLoader.h |
+++ b/Source/core/loader/ThreadableLoader.h |
@@ -84,6 +84,11 @@ namespace WebCore { |
static void loadResourceSynchronously(ExecutionContext&, const ResourceRequest&, ThreadableLoaderClient&, const ThreadableLoaderOptions&); |
static PassRefPtr<ThreadableLoader> create(ExecutionContext&, ThreadableLoaderClient*, const ResourceRequest&, const ThreadableLoaderOptions&); |
+ // A ThreadableLoader may have a timeout specified. It is possible, in some cases, for |
+ // the timeout to be overridden after the request is sent (for example, XMLHttpRequests |
+ // may override their timeout setting after sending). |
+ virtual void overrideTimeout(unsigned long timeoutMilliseconds) = 0; |
+ |
virtual void cancel() = 0; |
virtual ~ThreadableLoader() { } |