| Index: third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
|
| diff --git a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
|
| index a4ee138eff77f7102a53cd46587bbe0e57ed0cf6..f9fe4565f5926d18adb71fdbd5d494f74ab68cb0 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
|
| @@ -39,6 +39,7 @@
|
| #include "core/frame/DOMTimerCoordinator.h"
|
| #include "core/inspector/ConsoleMessage.h"
|
| #include "core/inspector/ConsoleMessageStorage.h"
|
| +#include "core/inspector/WorkerInspectorController.h"
|
| #include "core/inspector/WorkerThreadDebugger.h"
|
| #include "core/loader/WorkerFetchContext.h"
|
| #include "core/loader/WorkerThreadableLoader.h"
|
| @@ -283,6 +284,13 @@ WorkerEventQueue* WorkerGlobalScope::GetEventQueue() const {
|
| return event_queue_.Get();
|
| }
|
|
|
| +CoreProbeSink* WorkerGlobalScope::GetInstrumentingAgents() {
|
| + if (WorkerInspectorController* controller =
|
| + GetThread()->GetWorkerInspectorController())
|
| + return controller->InstrumentingAgents();
|
| + return nullptr;
|
| +}
|
| +
|
| bool WorkerGlobalScope::IsSecureContext(
|
| String& error_message,
|
| const SecureContextCheck privilege_context_check) const {
|
|
|