Skip to content
This repository was archived by the owner on Jul 6, 2018. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 0 additions & 32 deletions src/node_http2.cc
Original file line number Diff line number Diff line change
@@ -1,45 +1,13 @@
#include "node.h"
#include "node_buffer.h"
#include "nghttp2/nghttp2.h"
#include "node_http2.h"
#include "node_http2_core.h"
#include "node_http2_core-inl.h"
#include "stream_base.h"
#include "stream_base-inl.h"
#include "string_bytes.h"

#include "async-wrap.h"
#include "async-wrap-inl.h"
#include "env.h"
#include "env-inl.h"
#include "util.h"
#include "util-inl.h"
#include "v8-profiler.h"
#include "v8.h"

#include <vector>
#include <algorithm>
#include <memory>

namespace node {

using v8::Array;
using v8::ArrayBuffer;
using v8::Boolean;
using v8::Context;
using v8::External;
using v8::Function;
using v8::FunctionCallbackInfo;
using v8::FunctionTemplate;
using v8::Handle;
using v8::HandleScope;
using v8::Integer;
using v8::Isolate;
using v8::Local;
using v8::Name;
using v8::Object;
using v8::String;
using v8::Value;

namespace http2 {

Expand Down
31 changes: 0 additions & 31 deletions src/node_http2.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,48 +3,17 @@

#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

#include "node.h"
#include "nghttp2/nghttp2.h"
#include "uv.h"

#include "node_http2_core.h"
#include "node_http2_core-inl.h"
#include "env.h"
#include "env-inl.h"
#include "node_crypto_bio.h"
#include "stream_base.h"
#include "stream_base-inl.h"
#include "string_bytes.h"
#include "util.h"
#include "util-inl.h"
#include "v8.h"

#include "vector"
#include "map"
#include "memory"

namespace node {
namespace http2 {

using v8::Array;
using v8::Context;
using v8::EscapableHandleScope;
using v8::Exception;
using v8::External;
using v8::External;
using v8::Function;
using v8::FunctionCallbackInfo;
using v8::HandleScope;
using v8::Integer;
using v8::Isolate;
using v8::Local;
using v8::Map;
using v8::MaybeLocal;
using v8::Name;
using v8::Object;
using v8::Persistent;
using v8::String;
using v8::Value;

#define HTTP_KNOWN_HEADERS(V) \
V(STATUS, ":status") \
Expand Down
6 changes: 0 additions & 6 deletions src/node_http2_core-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,8 @@

#include "node_http2_core.h"
#include "node_internals.h" // arraysize
#include "util.h"
#include "util-inl.h"
#include "freelist.h"

#include "uv.h"
#include "nghttp2/nghttp2.h"
#include <string>

namespace node {
namespace http2 {

Expand Down
1 change: 0 additions & 1 deletion src/node_http2_core.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include "node_http2_core.h"
#include "node_http2_core-inl.h"

namespace node {
Expand Down
2 changes: 0 additions & 2 deletions src/node_http2_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
#include "nghttp2/nghttp2.h"

#include <unordered_map>
#include <memory>
#include <string>

namespace node {
namespace http2 {
Expand Down