Bug 1814798 - pt 2. Add a PHCManager component to control PHC r=glandium,emilio
commit8f391e64c7f88cf22355af49b7c9d48d66a0c894
authorPaul Bone <pbone@mozilla.com>
Tue, 12 Sep 2023 04:03:16 +0000 (12 04:03 +0000)
committerPaul Bone <pbone@mozilla.com>
Tue, 12 Sep 2023 04:03:16 +0000 (12 04:03 +0000)
tree03b519886880486882309ada74a3d47cc4fb25de
parent51e69845d9e9777714c6ff57a4c1fad8781b89e8
Bug 1814798 - pt 2. Add a PHCManager component to control PHC r=glandium,emilio

This change adds the PHCManager class which observes a pref to control PHC.
The pref can be changed at runtime and will affect the parent and content
processes.

Differential Revision: https://phabricator.services.mozilla.com/D178754
memory/replace/phc/PHC.cpp
modules/libpref/init/StaticPrefList.yaml
modules/libpref/moz.build
xpcom/base/PHCManager.cpp [new file with mode: 0644]
xpcom/base/PHCManager.h [new file with mode: 0644]
xpcom/base/moz.build
xpcom/build/XPCOMInit.cpp
xpcom/build/moz.build