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 WorkerInspectorProxy_h | 5 #ifndef WorkerInspectorProxy_h |
6 #define WorkerInspectorProxy_h | 6 #define WorkerInspectorProxy_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/WebTaskRunner.h" |
11 #include "wtf/Forward.h" | 11 #include "wtf/Forward.h" |
12 | 12 |
13 namespace blink { | 13 namespace blink { |
14 | 14 |
15 class ExecutionContext; | 15 class ExecutionContext; |
16 class KURL; | 16 class KURL; |
17 class WebTraceLocation; | 17 class WebTraceLocation; |
18 class WorkerGlobalScopeProxy; | 18 class WorkerGlobalScopeProxy; |
19 class WorkerThread; | 19 class WorkerThread; |
20 | 20 |
(...skipping 24 matching lines...) Expand all Loading... |
45 void writeTimelineStartedEvent(const String& sessionId, const String& worker
Id); | 45 void writeTimelineStartedEvent(const String& sessionId, const String& worker
Id); |
46 | 46 |
47 PageInspector* pageInspector() const { return m_pageInspector; } | 47 PageInspector* pageInspector() const { return m_pageInspector; } |
48 | 48 |
49 void setWorkerGlobalScopeProxy(WorkerGlobalScopeProxy* proxy) { m_workerGlob
alScopeProxy = proxy; } | 49 void setWorkerGlobalScopeProxy(WorkerGlobalScopeProxy* proxy) { m_workerGlob
alScopeProxy = proxy; } |
50 WorkerGlobalScopeProxy* workerGlobalScopeProxy() const { return m_workerGlob
alScopeProxy; } | 50 WorkerGlobalScopeProxy* workerGlobalScopeProxy() const { return m_workerGlob
alScopeProxy; } |
51 | 51 |
52 private: | 52 private: |
53 WorkerInspectorProxy(); | 53 WorkerInspectorProxy(); |
54 | 54 |
55 void addDebuggerTaskForWorker(const WebTraceLocation&, PassOwnPtr<WebThread:
:Task>); | 55 void addDebuggerTaskForWorker(const WebTraceLocation&, PassOwnPtr<WebTaskRun
ner::Task>); |
56 | 56 |
57 WorkerThread* m_workerThread; | 57 WorkerThread* m_workerThread; |
58 RawPtrWillBeMember<ExecutionContext> m_executionContext; | 58 RawPtrWillBeMember<ExecutionContext> m_executionContext; |
59 RawPtrWillBeMember<WorkerInspectorProxy::PageInspector> m_pageInspector; | 59 RawPtrWillBeMember<WorkerInspectorProxy::PageInspector> m_pageInspector; |
60 WorkerGlobalScopeProxy* m_workerGlobalScopeProxy; | 60 WorkerGlobalScopeProxy* m_workerGlobalScopeProxy; |
61 }; | 61 }; |
62 | 62 |
63 } // namespace blink | 63 } // namespace blink |
64 | 64 |
65 #endif // WorkerInspectorProxy_h | 65 #endif // WorkerInspectorProxy_h |
OLD | NEW |