| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 DOMTimerCoordinator_h | 5 #ifndef DOMTimerCoordinator_h |
| 6 #define DOMTimerCoordinator_h | 6 #define DOMTimerCoordinator_h |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
| 9 #include "wtf/Noncopyable.h" | 10 #include "wtf/Noncopyable.h" |
| 10 #include <memory> | |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class DOMTimer; | 14 class DOMTimer; |
| 15 class ExecutionContext; | 15 class ExecutionContext; |
| 16 class ScheduledAction; | 16 class ScheduledAction; |
| 17 class WebTaskRunner; | 17 class WebTaskRunner; |
| 18 | 18 |
| 19 // Maintains a set of DOMTimers for a given page or | 19 // Maintains a set of DOMTimers for a given page or |
| 20 // worker. DOMTimerCoordinator assigns IDs to timers; these IDs are | 20 // worker. DOMTimerCoordinator assigns IDs to timers; these IDs are |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 TimeoutMap m_timers; | 64 TimeoutMap m_timers; |
| 65 | 65 |
| 66 int m_circularSequentialID; | 66 int m_circularSequentialID; |
| 67 int m_timerNestingLevel; | 67 int m_timerNestingLevel; |
| 68 RefPtr<WebTaskRunner> m_timerTaskRunner; | 68 RefPtr<WebTaskRunner> m_timerTaskRunner; |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 } // namespace blink | 71 } // namespace blink |
| 72 | 72 |
| 73 #endif // DOMTimerCoordinator_h | 73 #endif // DOMTimerCoordinator_h |
| OLD | NEW |