| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WaitUntilObserver_h | 5 #ifndef WaitUntilObserver_h |
| 6 #define WaitUntilObserver_h | 6 #define WaitUntilObserver_h |
| 7 | 7 |
| 8 #include "core/dom/ContextLifecycleObserver.h" | 8 #include "core/dom/ContextLifecycleObserver.h" |
| 9 #include "modules/ModulesExport.h" | 9 #include "modules/ModulesExport.h" |
| 10 #include "modules/serviceworkers/ServiceWorkerGlobalScopeClient.h" | 10 #include "modules/serviceworkers/ServiceWorkerGlobalScopeClient.h" |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 DECLARE_VIRTUAL_TRACE(); | 53 DECLARE_VIRTUAL_TRACE(); |
| 54 | 54 |
| 55 private: | 55 private: |
| 56 friend class InternalsServiceWorker; | 56 friend class InternalsServiceWorker; |
| 57 class ThenFunction; | 57 class ThenFunction; |
| 58 | 58 |
| 59 WaitUntilObserver(ExecutionContext*, EventType, int eventID); | 59 WaitUntilObserver(ExecutionContext*, EventType, int eventID); |
| 60 | 60 |
| 61 void reportError(const ScriptValue&); | 61 void reportError(const ScriptValue&); |
| 62 | 62 |
| 63 void consumeWindowInteraction(Timer<WaitUntilObserver>*); | 63 void consumeWindowInteraction(TimerBase*); |
| 64 | 64 |
| 65 EventType m_type; | 65 EventType m_type; |
| 66 int m_eventID; | 66 int m_eventID; |
| 67 int m_pendingActivity; | 67 int m_pendingActivity; |
| 68 bool m_hasError; | 68 bool m_hasError; |
| 69 bool m_eventDispatched; | 69 bool m_eventDispatched; |
| 70 Timer<WaitUntilObserver> m_consumeWindowInteractionTimer; | 70 Timer<WaitUntilObserver> m_consumeWindowInteractionTimer; |
| 71 }; | 71 }; |
| 72 | 72 |
| 73 } // namespace blink | 73 } // namespace blink |
| 74 | 74 |
| 75 #endif // WaitUntilObserver_h | 75 #endif // WaitUntilObserver_h |
| OLD | NEW |