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 THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_CHILD_WEBTHREAD_BASE_H_ | 5 #ifndef THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_CHILD_WEBTHREAD_BASE_H_ |
6 #define THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_CHILD_WEBTHREAD_BASE_H_ | 6 #define THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_CHILD_WEBTHREAD_BASE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
| 11 #include "base/message_loop/message_loop.h" |
11 #include "base/threading/thread.h" | 12 #include "base/threading/thread.h" |
12 #include "public/platform/WebCommon.h" | 13 #include "public/platform/WebCommon.h" |
13 #include "public/platform/WebThread.h" | 14 #include "public/platform/WebThread.h" |
14 #include "public/platform/WebTraceLocation.h" | 15 #include "public/platform/WebTraceLocation.h" |
15 | 16 |
16 namespace blink { | 17 namespace blink { |
17 namespace scheduler { | 18 namespace scheduler { |
18 class SingleThreadIdleTaskRunner; | 19 class SingleThreadIdleTaskRunner; |
19 class TaskTimeObserver; | 20 class TaskTimeObserver; |
20 | 21 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 | 74 |
74 private: | 75 private: |
75 typedef std::map<TaskObserver*, TaskObserverAdapter*> TaskObserverMap; | 76 typedef std::map<TaskObserver*, TaskObserverAdapter*> TaskObserverMap; |
76 TaskObserverMap task_observer_map_; | 77 TaskObserverMap task_observer_map_; |
77 }; | 78 }; |
78 | 79 |
79 } // namespace scheduler | 80 } // namespace scheduler |
80 } // namespace blink | 81 } // namespace blink |
81 | 82 |
82 #endif // THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_CHILD_WEBTHREAD_BASE_H_ | 83 #endif // THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_CHILD_WEBTHREAD_BASE_H_ |
OLD | NEW |