summaryrefslogtreecommitdiffstats
path: root/toolkit/components/backgroundtasks/components.conf
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/backgroundtasks/components.conf')
-rw-r--r--toolkit/components/backgroundtasks/components.conf36
1 files changed, 36 insertions, 0 deletions
diff --git a/toolkit/components/backgroundtasks/components.conf b/toolkit/components/backgroundtasks/components.conf
new file mode 100644
index 0000000000..05360b1ce6
--- /dev/null
+++ b/toolkit/components/backgroundtasks/components.conf
@@ -0,0 +1,36 @@
+Classes = [
+ {
+ 'cid': '{cdc33a1f-e8ae-4a4f-85d0-6ec633fe872c}',
+ 'contract_ids': [
+ '@mozilla.org/backgroundtasks;1',
+ ],
+ 'type': 'BackgroundTasks',
+ 'singleton': True,
+ 'constructor': 'BackgroundTasks::GetSingletonAddRefed',
+ 'headers': ['mozilla/BackgroundTasks.h'],
+ 'processes': ProcessSelector.ANY_PROCESS,
+ },
+ {
+ 'cid': '{4d48c536-e16f-4699-8f9c-add4f28f92f0}',
+ 'contract_ids': [
+ '@mozilla.org/backgroundtasksmanager;1',
+ ],
+ 'esModule': 'resource://gre/modules/BackgroundTasksManager.sys.mjs',
+ 'constructor': 'BackgroundTasksManager',
+ 'categories': {
+ 'command-line-handler': {
+ 'name': 'm-backgroundtasks',
+ 'backgroundtasks': BackgroundTasksSelector.ALL_TASKS,
+ },
+ },
+ },
+ {
+ 'cid': '{8cd92fce-1ec3-470a-ad09-c0de9d98497e}',
+ 'contract_ids': [
+ '@mozilla.org/backgroundtasksrunner;1',
+ ],
+ 'type': 'BackgroundTasksRunner',
+ 'headers': ['mozilla/BackgroundTasksRunner.h'],
+ 'processes': ProcessSelector.MAIN_PROCESS_ONLY,
+ },
+]