| Index: Source/core/workers/WorkerGlobalScope.h
|
| diff --git a/Source/core/workers/WorkerGlobalScope.h b/Source/core/workers/WorkerGlobalScope.h
|
| index 0b037b6093192dd3569b522d45ab2d7772cc5770..072d3f198831c692bd877a051b90dfa30c69a95f 100644
|
| --- a/Source/core/workers/WorkerGlobalScope.h
|
| +++ b/Source/core/workers/WorkerGlobalScope.h
|
| @@ -31,6 +31,7 @@
|
| #include "core/dom/ExecutionContext.h"
|
| #include "core/events/EventListener.h"
|
| #include "core/events/EventTarget.h"
|
| +#include "core/fetch/CachedMetadataHandler.h"
|
| #include "core/frame/DOMTimerCoordinator.h"
|
| #include "core/frame/DOMWindowBase64.h"
|
| #include "core/frame/UseCounter.h"
|
| @@ -99,6 +100,9 @@ public:
|
|
|
| // WorkerUtils
|
| virtual void importScripts(const Vector<String>& urls, ExceptionState&);
|
| + // Returns null if caching is not supported.
|
| + virtual PassOwnPtr<CachedMetadataHandler> createWorkerScriptCachedMetadataHandler(const KURL& scriptURL, const Vector<char>* metaData) { return nullptr; }
|
| +
|
| WorkerNavigator* navigator() const;
|
|
|
| // ExecutionContextClient
|
|
|