gecko-dev/browser/app/winlauncher
Aaron Klotz db904c3cc8 Bug 1574298: Convert mscom::ProcessRuntime to use ProcessCategory enum and matching constructor; r=Jamie
In order to use `mscom::ProcessRuntime` in the maintenance service, we need
`ProcessRuntime` to be able to distinguish between more than just whether or not
the current process is the parent process.

I've added a new `ProcessCategory` enum to track this information, and revised
the constructors so that we now have one that accepts a ProcessCategory.

The `ProcessCategory` constructor is private inside XUL, since the
`GeckoProcessType` variant should always be used in that case.

We also slightly change apartment initialization to depend on the underlying
`ProcessCategory` value.

Finally, I modify the one case where we instantiate a `ProcessRuntime` in the
launcher process to use the new constructor.

Differential Revision: https://phabricator.services.mozilla.com/D42225

--HG--
extra : moz-landing-system : lando
2019-08-16 16:06:45 +00:00
..
test Bug 1418624 - Allow mozilla::Result to be moved, make unwrap{,Err}() move, and add inspect() APIs that return references. r=froydnj 2019-08-13 08:26:18 +00:00
DllBlocklistWin.cpp Bug 1568610 - Delete the definition of IATThunks structure. r=aklotz 2019-08-06 22:58:20 +00:00
DllBlocklistWin.h Bug 1503538: Part 4 - Add injected static import blocking to launcher process; r=mhowell 2019-04-11 22:32:29 +00:00
ErrorHandler.cpp Bug 1574298: Convert mscom::ProcessRuntime to use ProcessCategory enum and matching constructor; r=Jamie 2019-08-16 16:06:45 +00:00
ErrorHandler.h Bug 1418624 - Allow mozilla::Result to be moved, make unwrap{,Err}() move, and add inspect() APIs that return references. r=froydnj 2019-08-13 08:26:18 +00:00
LauncherProcessWin.cpp Bug 1571875: Part 2 - Change over all existing static local uses of DynamicallyLinkedFunctionPtr to use StaticDynamicallyLinkedFunctionPtr instead; r=mhowell 2019-08-07 15:58:09 +00:00
LauncherProcessWin.h Bug 1460433: Part 2 - Log launcher process failures to a telemetry ping; r=mhowell 2019-02-25 21:14:07 +00:00
LaunchUnelevated.cpp Bug 1567614: Part 1 - Refactor launcher process's LaunchUnelevated to delegate to ShellExecuteByExplorer; r=jmathies 2019-07-23 20:17:58 +00:00
LaunchUnelevated.h Bug 1511078: Add LauncherRegistryInfo as a temporary mechanism for runtime disabling of launcher process; r=mhowell 2019-01-15 23:10:00 +00:00
moz.build Bug 1564538: Set -ffreestanding on DllBlocklistWin.cpp; r=dmajor 2019-07-16 18:24:37 +00:00
ProcThreadAttributes.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
SameBinary.h Bug 1511078: Add LauncherRegistryInfo as a temporary mechanism for runtime disabling of launcher process; r=mhowell 2019-01-15 23:10:00 +00:00