GCC Code Coverage Report
Directory: ../ Exec Total Coverage
File: /home/iojs/build/workspace/node-test-commit-linux-coverage-daily/nodes/benchmark/out/../src/inspector/runtime_agent.h Lines: 1 1 100.0 %
Date: 2019-10-06 22:30:00 Branches: 1 2 50.0 %

Line Branch Exec Source
1
#ifndef SRC_INSPECTOR_RUNTIME_AGENT_H_
2
#define SRC_INSPECTOR_RUNTIME_AGENT_H_
3
4
#include "node/inspector/protocol/NodeRuntime.h"
5
#include "v8.h"
6
7
namespace node {
8
class Environment;
9
10
namespace inspector {
11
namespace protocol {
12
13
10086
class RuntimeAgent : public NodeRuntime::Backend {
14
 public:
15
  RuntimeAgent();
16
17
  void Wire(UberDispatcher* dispatcher);
18
19
  DispatchResponse notifyWhenWaitingForDisconnect(bool enabled) override;
20
21
  bool notifyWaitingForDisconnect();
22
23
 private:
24
  std::shared_ptr<NodeRuntime::Frontend> frontend_;
25
  bool notify_when_waiting_for_disconnect_;
26
};
27
}  // namespace protocol
28
}  // namespace inspector
29
}  // namespace node
30
31
#endif  // SRC_INSPECTOR_RUNTIME_AGENT_H_