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:
authorAlexandre Ferrando <alferpal@gmail.com>2019-11-07 22:34:36 +0300
committerAnna Henningsen <anna@addaleax.net>2019-11-30 05:57:55 +0300
commit8ec0d75de76debf84d2340d2116eedab15ae5026 (patch)
tree478cb23f87ef04eb4cc39d9bbdc32d252a501ddf /src/tracing
parent2cf8a7f117ea2d9a510439ae39d9567b1eb3425b (diff)
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 a129f954d7b..7ee1b417c6f 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 {