summaryrefslogtreecommitdiff
path: root/src/inspector_io.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspector_io.h')
-rw-r--r--src/inspector_io.h22
1 files changed, 1 insertions, 21 deletions
diff --git a/src/inspector_io.h b/src/inspector_io.h
index 57facb2294..e9f9405673 100644
--- a/src/inspector_io.h
+++ b/src/inspector_io.h
@@ -14,32 +14,14 @@
#include <cstddef>
#include <memory>
-
-namespace v8_inspector {
-class StringBuffer;
-class StringView;
-} // namespace v8_inspector
-
namespace node {
// Forward declaration to break recursive dependency chain with src/env.h.
class Environment;
namespace inspector {
-std::string FormatWsAddress(const std::string& host, int port,
- const std::string& target_id,
- bool include_protocol);
-
-class InspectorIoDelegate;
class MainThreadHandle;
class RequestQueue;
-// kKill closes connections and stops the server, kStop only stops the server
-enum class TransportAction {
- kKill,
- kSendMessage,
- kStop
-};
-
class InspectorIo {
public:
// Start the inspector agent thread, waiting for it to initialize
@@ -55,9 +37,7 @@ class InspectorIo {
~InspectorIo();
void StopAcceptingNewConnections();
- const std::string& host() const { return host_port_->host(); }
- int port() const { return host_port_->port(); }
- std::vector<std::string> GetTargetIds() const;
+ std::string GetWsUrl() const;
private:
InspectorIo(std::shared_ptr<MainThreadHandle> handle,