process_util.h 501 B

1234567891011121314151617181920
  1. // Copyright (c) 2019 GitHub, Inc.
  2. // Use of this source code is governed by the MIT license that can be
  3. // found in the LICENSE file.
  4. #ifndef SHELL_COMMON_PROCESS_UTIL_H_
  5. #define SHELL_COMMON_PROCESS_UTIL_H_
  6. #include <string>
  7. #include "shell/common/node_includes.h"
  8. namespace electron {
  9. void EmitWarning(node::Environment* env,
  10. const std::string& warning_msg,
  11. const std::string& warning_type);
  12. } // namespace electron
  13. #endif // SHELL_COMMON_PROCESS_UTIL_H_