refactor: use process_util.h
helpers (#38574)
refactor: use process_util.h helpers
This commit is contained in:
parent
8d689c565a
commit
bb2ba35b51
6 changed files with 41 additions and 41 deletions
|
@ -17,8 +17,12 @@ void EmitWarning(node::Environment* env,
|
|||
const std::string& warning_msg,
|
||||
const std::string& warning_type);
|
||||
|
||||
std::string GetProcessType();
|
||||
|
||||
bool IsBrowserProcess();
|
||||
bool IsRendererProcess();
|
||||
bool IsUtilityProcess();
|
||||
bool IsZygoteProcess();
|
||||
|
||||
} // namespace electron
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue