diff options
author | Eugene Ostroukhov <eostroukhov@gmail.com> | 2019-07-03 21:32:31 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2019-07-06 21:04:03 +0300 |
commit | 17862fca5f6acfad5941ec651769493310a5c571 (patch) | |
tree | 203ae2d3a759a5b47244d1ae048ebbf7997de0f3 /src/inspector_agent.h | |
parent | 33a8093411e984756869ab03226b21bdecd85795 (diff) |
inspector: reduce InspectorIo API surface
This is a cleanup, allowing for a better separation of concerns.
PR-URL: https://github.com/nodejs/node/pull/28526
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Aleksei Koziatinskii <ak239spb@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'src/inspector_agent.h')
-rw-r--r-- | src/inspector_agent.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/inspector_agent.h b/src/inspector_agent.h index 5447a68485c..4fb544f85bd 100644 --- a/src/inspector_agent.h +++ b/src/inspector_agent.h @@ -94,9 +94,7 @@ class Agent { void PauseOnNextJavascriptStatement(const std::string& reason); - InspectorIo* io() { - return io_.get(); - } + std::string GetWsUrl() const; // Can only be called from the main thread. bool StartIoThread(); |