Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2019-02-08 21:23:09 +0300
committerAnna Henningsen <anna@addaleax.net>2019-02-11 21:57:19 +0300
commit5bc6e493c0642dd65e458026b8145f266d7d5417 (patch)
treee2cb33bb45f62419b55de981ae1221909d16d177 /src/inspector_agent.h
parent58ba8bfc46c06bf9f75887c18df563d91a1f782c (diff)
worker: set up child Isolate inside Worker thread
Refs: https://github.com/nodejs/node/issues/24016 PR-URL: https://github.com/nodejs/node/pull/26011 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'src/inspector_agent.h')
-rw-r--r--src/inspector_agent.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/inspector_agent.h b/src/inspector_agent.h
index 5e599a6339e..905b1e2841e 100644
--- a/src/inspector_agent.h
+++ b/src/inspector_agent.h
@@ -85,7 +85,9 @@ class Agent {
void EnableAsyncHook();
void DisableAsyncHook();
- void AddWorkerInspector(int thread_id, const std::string& url, Agent* agent);
+ void SetParentHandle(std::unique_ptr<ParentInspectorHandle> parent_handle);
+ std::unique_ptr<ParentInspectorHandle> GetParentHandle(
+ int thread_id, const std::string& url);
// Called to create inspector sessions that can be used from the main thread.
// The inspector responds by using the delegate to send messages back.