Chromium Code Reviews| Index: Source/modules/serviceworkers/ServiceWorkerGlobalScope.h |
| diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h |
| index f14f9506e012b7fe881e463cfe21cd1b94daa519..3fbb19711953d592f3321dd758e3664082d37f4d 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; |
| @@ -68,6 +69,8 @@ public: |
| ServiceWorkerClients* clients(); |
| ServiceWorkerRegistration* registration(); |
|
scheib
2015/05/06 21:44:30
Remove blank line and have ports() in same group a
Marijn Kruisselbrink
2015/05/12 06:56:40
Done, although all the methods upto the next comme
|
| + PassRefPtrWillBeRawPtr<StashedPortCollection> ports(); |
| + |
| ScriptPromise fetch(ScriptState*, const RequestInfo&, const Dictionary&, ExceptionState&); |
| void close(ExceptionState&); |
| @@ -102,6 +105,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 +114,8 @@ private: |
| size_t m_scriptCachedMetadataTotalSize; |
| }; |
| +DEFINE_TYPE_CASTS(ServiceWorkerGlobalScope, ExecutionContext, context, context->isServiceWorkerGlobalScope(), context.isServiceWorkerGlobalScope()); |
| + |
| } // namespace blink |
| #endif // ServiceWorkerGlobalScope_h |