Chromium Code Reviews| Index: Source/core/workers/WorkerGlobalScope.h |
| diff --git a/Source/core/workers/WorkerGlobalScope.h b/Source/core/workers/WorkerGlobalScope.h |
| index 0b037b6093192dd3569b522d45ab2d7772cc5770..9ead6b488eb4ccc2793f44af2e7e119088eed35f 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; } |
|
kinuko
2015/02/17 07:56:46
nit: I don't think we need to make the parameter n
horo
2015/02/17 08:20:27
Done.
|
| + |
| WorkerNavigator* navigator() const; |
| // ExecutionContextClient |