зеркало из https://github.com/mozilla/gecko-dev.git
3d0d39d82c
For simplicity, this implements just on in `NO_TASKS` (the default) or on in `ALL_TASKS` (opt-in). This disables all category registrations when in background task mode; we'll selectively re-enable things as appropriate. The flag constants were chosen to smoothly extend to a (16-)bit set in the future, should we want to add a `JUST_TASKS("task", "other-task")` option in the future. This also adds ython tests for gen_static_components.py exercising categories, simply 'cuz it's easiest to see what this adds in such tests. Functional tests will follow in patches that actually implement the new background tasks functionality. Differential Revision: https://phabricator.services.mozilla.com/D96654 |
||
---|---|---|
.. | ||
test | ||
GenericFactory.cpp | ||
GenericFactory.h | ||
ManifestParser.cpp | ||
ManifestParser.h | ||
Module.h | ||
ModuleUtils.h | ||
StaticComponents.cpp.in | ||
StaticComponents.h | ||
components.conf | ||
gen_static_components.py | ||
moz.build | ||
nsCategoryCache.cpp | ||
nsCategoryCache.h | ||
nsCategoryManager.cpp | ||
nsCategoryManager.h | ||
nsCategoryManagerUtils.h | ||
nsComponentManager.cpp | ||
nsComponentManager.h | ||
nsComponentManagerUtils.cpp | ||
nsComponentManagerUtils.h | ||
nsICategoryManager.idl | ||
nsIClassInfo.idl | ||
nsIComponentManager.idl | ||
nsIComponentRegistrar.idl | ||
nsIFactory.idl | ||
nsIModule.idl | ||
nsIServiceManager.idl | ||
nsServiceManagerUtils.h |