summaryrefslogtreecommitdiff
path: root/src/tracing
diff options
context:
space:
mode:
authorAlexandre Ferrando <alferpal@gmail.com>2019-11-07 20:34:36 +0100
committerAnna Henningsen <anna@addaleax.net>2019-11-28 23:21:08 +0100
commit7686b5a34f9146bb44919d1cd73214c2d86de44c (patch)
treea30035eb05b623487ec7f1e94245883edd88aaf6 /src/tracing
parentf5ef7cd22231987a73af9f02cc5f6c80b6dbbd9b (diff)
downloadnode-new-7686b5a34f9146bb44919d1cd73214c2d86de44c.tar.gz
src: cleanup unused headers
Node codebase has evolved a lot in the more than 10 years of its existence. As more features (and code) have been added, changed, removed, it's sometimes hard to keep track of what gets used and what not. This commits attempts to clean some of those potentially left-over headers using suggestions from include-what-you-use Refs: https://github.com/nodejs/node/issues/27531 PR-URL: https://github.com/nodejs/node/pull/30328 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/tracing')
-rw-r--r--src/tracing/agent.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tracing/agent.h b/src/tracing/agent.h
index a129f954d7..7ee1b417c6 100644
--- a/src/tracing/agent.h
+++ b/src/tracing/agent.h
@@ -3,7 +3,6 @@
#include "libplatform/v8-tracing.h"
#include "uv.h"
-#include "v8.h"
#include "util.h"
#include "node_mutex.h"
@@ -12,6 +11,11 @@
#include <string>
#include <unordered_map>
+namespace v8 {
+class ConvertableToTraceFormat;
+class TracingController;
+} // namespace v8
+
namespace node {
namespace tracing {