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_crypto.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_crypto.cc')
-rw-r--r-- | src/node_crypto.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/node_crypto.cc b/src/node_crypto.cc index 75a687801f..296b15de5b 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -19,16 +19,17 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. +#include "node_crypto.h" #include "node.h" #include "node_buffer.h" -#include "node_errors.h" #include "node_constants.h" -#include "node_crypto.h" #include "node_crypto_bio.h" -#include "node_crypto_groups.h" #include "node_crypto_clienthello-inl.h" -#include "node_mutex.h" +#include "node_crypto_groups.h" +#include "node_errors.h" #include "node_internals.h" +#include "node_mutex.h" +#include "node_process.h" #include "tls_wrap.h" // TLSWrap #include "async_wrap-inl.h" |