diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2018-12-31 23:18:08 +0800 |
---|---|---|
committer | Joyee Cheung <joyeec9h3@gmail.com> | 2019-01-11 20:11:55 +0800 |
commit | 7824280b5827e1aaba067088b195328185525b21 (patch) | |
tree | 7c1971d1ee5ac4a6f02b38e8fb6bfebf5a02c250 /src/node_file.cc | |
parent | 5a15f4bdfa060082757062dc5f39519d93e7b8fb (diff) | |
download | android-node-v8-7824280b5827e1aaba067088b195328185525b21.tar.gz android-node-v8-7824280b5827e1aaba067088b195328185525b21.tar.bz2 android-node-v8-7824280b5827e1aaba067088b195328185525b21.zip |
src: declare process-related C++ methods in node_process.h
Instead of in node_internals.h. Also move process property
accessors that are not reused into node_process_object.cc
and make them static.
PR-URL: https://github.com/nodejs/node/pull/25397
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'src/node_file.cc')
-rw-r--r-- | src/node_file.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/node_file.cc b/src/node_file.cc index b66c0fe6d2..8757f6bf0d 100644 --- a/src/node_file.cc +++ b/src/node_file.cc @@ -19,11 +19,13 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. +#include "node_file.h" #include "aliased_buffer.h" #include "node_buffer.h" #include "node_internals.h" +#include "node_process.h" #include "node_stat_watcher.h" -#include "node_file.h" + #include "tracing/trace_event.h" #include "req_wrap-inl.h" |