diff options
Diffstat (limited to 'src/inspector/worker_inspector.h')
-rw-r--r-- | src/inspector/worker_inspector.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/inspector/worker_inspector.h b/src/inspector/worker_inspector.h index cf483ae49e..c0961496ce 100644 --- a/src/inspector/worker_inspector.h +++ b/src/inspector/worker_inspector.h @@ -55,6 +55,13 @@ class ParentInspectorHandle { std::shared_ptr<MainThreadHandle> parent_thread, bool wait_for_connect); ~ParentInspectorHandle(); + std::unique_ptr<ParentInspectorHandle> NewParentInspectorHandle( + int thread_id, const std::string& url) { + return std::make_unique<ParentInspectorHandle>(thread_id, + url, + parent_thread_, + wait_); + } void WorkerStarted(std::shared_ptr<MainThreadHandle> worker_thread, bool waiting); bool WaitForConnect() { |