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 28 matching lines...) Expand all Loading... |
39 #include "core/inspector/InspectorDOMDebuggerAgent.h" | 39 #include "core/inspector/InspectorDOMDebuggerAgent.h" |
40 #include "core/inspector/InspectorNetworkAgent.h" | 40 #include "core/inspector/InspectorNetworkAgent.h" |
41 #include "core/inspector/InspectorPageAgent.h" | 41 #include "core/inspector/InspectorPageAgent.h" |
42 #include "core/inspector/InspectorSession.h" | 42 #include "core/inspector/InspectorSession.h" |
43 #include "core/inspector/MainThreadDebugger.h" | 43 #include "core/inspector/MainThreadDebugger.h" |
44 #include "core/inspector/ThreadDebugger.h" | 44 #include "core/inspector/ThreadDebugger.h" |
45 #include "core/inspector/WorkerInspectorController.h" | 45 #include "core/inspector/WorkerInspectorController.h" |
46 #include "core/page/Page.h" | 46 #include "core/page/Page.h" |
47 #include "core/workers/MainThreadWorkletGlobalScope.h" | 47 #include "core/workers/MainThreadWorkletGlobalScope.h" |
48 #include "core/workers/WorkerGlobalScope.h" | 48 #include "core/workers/WorkerGlobalScope.h" |
49 #include "platform/v8_inspector/public/V8Debugger.h" | |
50 | 49 |
51 namespace blink { | 50 namespace blink { |
52 | 51 |
53 namespace InspectorInstrumentation { | 52 namespace InspectorInstrumentation { |
54 | 53 |
55 AsyncTask::AsyncTask(ExecutionContext* context, void* task) : AsyncTask(context,
task, true) | 54 AsyncTask::AsyncTask(ExecutionContext* context, void* task) : AsyncTask(context,
task, true) |
56 { | 55 { |
57 } | 56 } |
58 | 57 |
59 AsyncTask::AsyncTask(ExecutionContext* context, void* task, bool enabled) | 58 AsyncTask::AsyncTask(ExecutionContext* context, void* task, bool enabled) |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 if (context->isWorkerGlobalScope()) | 157 if (context->isWorkerGlobalScope()) |
159 return instrumentingAgentsFor(toWorkerGlobalScope(context)); | 158 return instrumentingAgentsFor(toWorkerGlobalScope(context)); |
160 if (context->isMainThreadWorkletGlobalScope()) | 159 if (context->isMainThreadWorkletGlobalScope()) |
161 return instrumentingAgentsFor(toMainThreadWorkletGlobalScope(context)->f
rame()); | 160 return instrumentingAgentsFor(toMainThreadWorkletGlobalScope(context)->f
rame()); |
162 return nullptr; | 161 return nullptr; |
163 } | 162 } |
164 | 163 |
165 } // namespace InspectorInstrumentation | 164 } // namespace InspectorInstrumentation |
166 | 165 |
167 } // namespace blink | 166 } // namespace blink |
OLD | NEW |