gecko-dev/ipc
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
..
app Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
chromium Bug 1536697 - Fix error handling in base::SharedMemory::Map. r=froydnj 2019-08-14 22:48:51 +00:00
contentproc Bug 1530245 - Launch sandbox from new remote sandbox broker process. r=jld,bobowen 2019-03-13 09:24:52 +00:00
glue Bug 1571711 - Factorize crash handling out of the various process IPC classes r=froydnj 2019-08-15 12:06:51 +00:00
gtest Bug 1479960 - Add unit tests for shared memory freezing. r=froydnj 2019-08-14 22:48:52 +00:00
ipdl Bug 1568047. r=froydnj 2019-08-12 18:50:09 +00:00
mscom Bug 1574298: Convert mscom::ProcessRuntime to use ProcessCategory enum and matching constructor; r=Jamie 2019-08-16 16:06:45 +00:00
testshell Bug 1561435 - Format ipc/, a=automatic-formatting 2019-07-05 10:48:16 +02:00
moz.build Bug 1479960 - Add unit tests for shared memory freezing. r=froydnj 2019-08-14 22:48:52 +00:00
pull-chromium.py Bug 1468273 - Fix flake8/pep8 issue by hand in ipc/ r=froydnj 2018-07-12 12:03:02 +02:00