OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 20 matching lines...) Expand all Loading... |
31 #include "core/inspector/WorkerInspectorController.h" | 31 #include "core/inspector/WorkerInspectorController.h" |
32 | 32 |
33 #include "core/InstrumentingAgents.h" | 33 #include "core/InstrumentingAgents.h" |
34 #include "core/inspector/InspectorInstrumentation.h" | 34 #include "core/inspector/InspectorInstrumentation.h" |
35 #include "core/inspector/InspectorLogAgent.h" | 35 #include "core/inspector/InspectorLogAgent.h" |
36 #include "core/inspector/WorkerThreadDebugger.h" | 36 #include "core/inspector/WorkerThreadDebugger.h" |
37 #include "core/workers/WorkerBackingThread.h" | 37 #include "core/workers/WorkerBackingThread.h" |
38 #include "core/workers/WorkerReportingProxy.h" | 38 #include "core/workers/WorkerReportingProxy.h" |
39 #include "core/workers/WorkerThread.h" | 39 #include "core/workers/WorkerThread.h" |
40 #include "platform/WebThreadSupportingGC.h" | 40 #include "platform/WebThreadSupportingGC.h" |
41 #include "platform/inspector_protocol/DispatcherBase.h" | 41 #include "platform/inspector_protocol/InspectorProtocol.h" |
42 #include "platform/v8_inspector/public/V8Inspector.h" | 42 #include "platform/v8_inspector/public/V8Inspector.h" |
43 #include "platform/v8_inspector/public/V8InspectorSession.h" | 43 #include "platform/v8_inspector/public/V8InspectorSession.h" |
44 | 44 |
45 namespace blink { | 45 namespace blink { |
46 | 46 |
47 WorkerInspectorController* WorkerInspectorController::create(WorkerThread* threa
d) | 47 WorkerInspectorController* WorkerInspectorController::create(WorkerThread* threa
d) |
48 { | 48 { |
49 WorkerThreadDebugger* debugger = WorkerThreadDebugger::from(thread->isolate(
)); | 49 WorkerThreadDebugger* debugger = WorkerThreadDebugger::from(thread->isolate(
)); |
50 return debugger ? new WorkerInspectorController(thread, debugger) : nullptr; | 50 return debugger ? new WorkerInspectorController(thread, debugger) : nullptr; |
51 } | 51 } |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 m_session->flushProtocolNotifications(); | 120 m_session->flushProtocolNotifications(); |
121 } | 121 } |
122 | 122 |
123 DEFINE_TRACE(WorkerInspectorController) | 123 DEFINE_TRACE(WorkerInspectorController) |
124 { | 124 { |
125 visitor->trace(m_instrumentingAgents); | 125 visitor->trace(m_instrumentingAgents); |
126 visitor->trace(m_session); | 126 visitor->trace(m_session); |
127 } | 127 } |
128 | 128 |
129 } // namespace blink | 129 } // namespace blink |
OLD | NEW |