| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 InspectorWebPerfAgent_h | 5 #ifndef InspectorWebPerfAgent_h |
| 6 #define InspectorWebPerfAgent_h | 6 #define InspectorWebPerfAgent_h |
| 7 | 7 |
| 8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
| 10 #include "public/platform/WebThread.h" | 10 #include "public/platform/WebThread.h" |
| 11 #include "public/platform/scheduler/base/task_time_observer.h" | 11 #include "public/platform/scheduler/base/task_time_observer.h" |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 class DOMWindow; | 15 class DOMWindow; |
| 16 class ExecutionContext; | 16 class ExecutionContext; |
| 17 class Frame; | 17 class Frame; |
| 18 class LocalFrame; | 18 class LocalFrame; |
| 19 class Location; | 19 class Location; |
| 20 class InspectedFrames; | |
| 21 | 20 |
| 22 // Inspector Agent for Web Performance APIs | 21 // Inspector Agent for Web Performance APIs |
| 23 class CORE_EXPORT InspectorWebPerfAgent final | 22 class CORE_EXPORT InspectorWebPerfAgent final |
| 24 : public GarbageCollectedFinalized<InspectorWebPerfAgent>, | 23 : public GarbageCollectedFinalized<InspectorWebPerfAgent>, |
| 25 public WebThread::TaskObserver, | 24 public WebThread::TaskObserver, |
| 26 public scheduler::TaskTimeObserver { | 25 public scheduler::TaskTimeObserver { |
| 27 WTF_MAKE_NONCOPYABLE(InspectorWebPerfAgent); | 26 WTF_MAKE_NONCOPYABLE(InspectorWebPerfAgent); |
| 28 friend class InspectorWebPerfAgentTest; | 27 friend class InspectorWebPerfAgentTest; |
| 29 | 28 |
| 30 public: | 29 public: |
| (...skipping 22 matching lines...) Expand all Loading... |
| 53 const HeapHashSet<Member<Location>>& frameContextLocations, | 52 const HeapHashSet<Member<Location>>& frameContextLocations, |
| 54 Frame* observerFrame); | 53 Frame* observerFrame); |
| 55 | 54 |
| 56 Member<LocalFrame> m_localFrame; | 55 Member<LocalFrame> m_localFrame; |
| 57 HeapHashSet<Member<Location>> m_frameContextLocations; | 56 HeapHashSet<Member<Location>> m_frameContextLocations; |
| 58 }; | 57 }; |
| 59 | 58 |
| 60 } // namespace blink | 59 } // namespace blink |
| 61 | 60 |
| 62 #endif // InspectorWebPerfAgent_h | 61 #endif // InspectorWebPerfAgent_h |
| OLD | NEW |