MCPcopy Create free account
hub / github.com/electron/electron / IsUtilityProcess

Function IsUtilityProcess

shell/common/process_util.cc:33–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33bool IsUtilityProcess() {
34 static bool result = GetProcessType() == switches::kUtilityProcess;
35 return result;
36}
37
38bool IsZygoteProcess() {
39 static bool result = GetProcessType() == switches::kZygoteProcess;

Callers 12

IsPackagedMethod · 0.85
InitializeWindowMethod · 0.85
RunMethod · 0.85
AddAdditionalSchemesMethod · 0.85
SelectESMHandlerPlatformFunction · 0.85

Calls 1

GetProcessTypeFunction · 0.85

Tested by

no test coverage detected