gecko-dev/xpcom/components
Nick Alexander 3d0d39d82c Bug 1675848 - Part 2: Add "BackgroundTasksSelector" to static component category registration. r=mhentges,nika
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
2021-01-25 23:44:49 +00:00
..
test Bug 1675848 - Part 2: Add "BackgroundTasksSelector" to static component category registration. r=mhentges,nika 2021-01-25 23:44:49 +00:00
GenericFactory.cpp
GenericFactory.h
ManifestParser.cpp Bug 1675848 - Part 1: Add "backgroundtask" filter to chrome manifest parsing. r=mossop,kmag 2021-01-25 23:44:46 +00:00
ManifestParser.h
Module.h Bug 1675848 - Part 2: Add "BackgroundTasksSelector" to static component category registration. r=mhentges,nika 2021-01-25 23:44:49 +00:00
ModuleUtils.h
StaticComponents.cpp.in Bug 1675848 - Part 2: Add "BackgroundTasksSelector" to static component category registration. r=mhentges,nika 2021-01-25 23:44:49 +00:00
StaticComponents.h Bug 1675848 - Part 2: Add "BackgroundTasksSelector" to static component category registration. r=mhentges,nika 2021-01-25 23:44:49 +00:00
components.conf Bug 1464542: Part 3b - Add existing Services.jsm registrations to the new services cache. r=mccr8,geckoview-reviewers,agi 2020-07-09 21:42:25 +00:00
gen_static_components.py Bug 1675848 - Part 2: Add "BackgroundTasksSelector" to static component category registration. r=mhentges,nika 2021-01-25 23:44:49 +00:00
moz.build Bug 1675848 - Part 2: Add "BackgroundTasksSelector" to static component category registration. r=mhentges,nika 2021-01-25 23:44:49 +00:00
nsCategoryCache.cpp
nsCategoryCache.h
nsCategoryManager.cpp Bug 1667915 - Separate marker category from marker options - r=gregtatum 2020-10-01 11:02:23 +00:00
nsCategoryManager.h
nsCategoryManagerUtils.h
nsComponentManager.cpp Bug 1634065 - remove the nested event loop in nsComponentManagerImpl::GetServiceLocked r=nika 2020-11-17 16:30:06 +00:00
nsComponentManager.h Bug 1634065 - remove the nested event loop in nsComponentManagerImpl::GetServiceLocked r=nika 2020-11-17 16:30:06 +00:00
nsComponentManagerUtils.cpp
nsComponentManagerUtils.h
nsICategoryManager.idl
nsIClassInfo.idl
nsIComponentManager.idl
nsIComponentRegistrar.idl
nsIFactory.idl
nsIModule.idl
nsIServiceManager.idl
nsServiceManagerUtils.h Bug 1666291 - Remove unused do_GetServiceFromCategory. r=xpcom-reviewers,nika 2020-09-21 16:39:26 +00:00