| Index: Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
|
| diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
|
| index f14f9506e012b7fe881e463cfe21cd1b94daa519..fcd3d1816c319af2d8f159a2f80d2e3dc976d4de 100644
|
| --- a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
|
| +++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
|
| @@ -47,6 +47,7 @@ class ScriptState;
|
| class ServiceWorkerClients;
|
| class ServiceWorkerRegistration;
|
| class ServiceWorkerThread;
|
| +class StashedPortCollection;
|
| class WaitUntilObserver;
|
| class WebServiceWorkerRegistration;
|
| class WorkerThreadStartupData;
|
| @@ -67,6 +68,7 @@ public:
|
| // ServiceWorkerGlobalScope.idl
|
| ServiceWorkerClients* clients();
|
| ServiceWorkerRegistration* registration();
|
| + PassRefPtrWillBeRawPtr<StashedPortCollection> ports();
|
|
|
| ScriptPromise fetch(ScriptState*, const RequestInfo&, const Dictionary&, ExceptionState&);
|
|
|
| @@ -102,6 +104,7 @@ private:
|
|
|
| PersistentWillBeMember<ServiceWorkerClients> m_clients;
|
| PersistentWillBeMember<ServiceWorkerRegistration> m_registration;
|
| + RefPtrWillBeMember<StashedPortCollection> m_ports;
|
| bool m_didEvaluateScript;
|
| bool m_hadErrorInTopLevelEventHandler;
|
| unsigned m_eventNestingLevel;
|
| @@ -110,6 +113,8 @@ private:
|
| size_t m_scriptCachedMetadataTotalSize;
|
| };
|
|
|
| +DEFINE_TYPE_CASTS(ServiceWorkerGlobalScope, ExecutionContext, context, context->isServiceWorkerGlobalScope(), context.isServiceWorkerGlobalScope());
|
| +
|
| } // namespace blink
|
|
|
| #endif // ServiceWorkerGlobalScope_h
|
|
|