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:
authorJames M Snell <jasnell@gmail.com>2020-03-16 23:59:36 +0300
committerJames M Snell <jasnell@gmail.com>2020-03-19 15:22:53 +0300
commitffdf1dec85a61a4a913f83c3970298aac7e05f93 (patch)
tree7f316fb11ef9b2b053d1f36ad625957eb752e465 /src/stream_pipe.cc
parenta9401439c7b3299f8fb8825f721ff139b7656e3b (diff)
src: clean up stream_base.h and stream-base-inl.h
Signed-off-by: James M Snell <jasnell@gmail.com> PR-URL: https://github.com/nodejs/node/pull/32307 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Diffstat (limited to 'src/stream_pipe.cc')
-rw-r--r--src/stream_pipe.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/stream_pipe.cc b/src/stream_pipe.cc
index 40b094ab593..1bed4514eb8 100644
--- a/src/stream_pipe.cc
+++ b/src/stream_pipe.cc
@@ -3,16 +3,18 @@
#include "node_buffer.h"
#include "util-inl.h"
+namespace node {
+
using v8::Context;
using v8::Function;
using v8::FunctionCallbackInfo;
using v8::FunctionTemplate;
+using v8::HandleScope;
using v8::Local;
using v8::Object;
+using v8::String;
using v8::Value;
-namespace node {
-
StreamPipe::StreamPipe(StreamBase* source,
StreamBase* sink,
Local<Object> obj)