Chromium Code Reviews| Index: Source/modules/serviceworkers/ServiceWorker.h |
| diff --git a/Source/modules/serviceworkers/ServiceWorker.h b/Source/modules/serviceworkers/ServiceWorker.h |
| index 58a40ea43e8145cdfe3a95e98223ac0bee06f158..3904cfafb62ef6277584ec25112e379f851ef22d 100644 |
| --- a/Source/modules/serviceworkers/ServiceWorker.h |
| +++ b/Source/modules/serviceworkers/ServiceWorker.h |
| @@ -74,6 +74,10 @@ public: |
| // AbstractWorker overrides. |
| virtual const AtomicString& interfaceName() const OVERRIDE; |
| + // ActiveDOMObject overrides. |
|
dominicc (has gone to gerrit)
2014/06/12 22:23:38
Let's make these private?
falken
2014/06/13 19:22:59
Done.
|
| + virtual bool hasPendingActivity() const OVERRIDE; |
| + virtual void stop() OVERRIDE; |
| + |
| private: |
| class ThenFunction; |
| @@ -84,6 +88,9 @@ private: |
| OwnPtr<blink::WebServiceWorker> m_outerWorker; |
| bool m_isPromisePending; |
| + |
| + // Whether ActiveDOMObject::stop has been called. |
|
dominicc (has gone to gerrit)
2014/06/12 22:23:38
We can probably omit this comment.
falken
2014/06/13 19:22:59
Done.
|
| + bool m_contextStopped; |
| }; |
| } // namespace WebCore |