summaryrefslogtreecommitdiffstats
path: root/toolkit/components/backgroundtasks/components.conf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /toolkit/components/backgroundtasks/components.conf
parentInitial commit. (diff)
downloadthunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz
thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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,
+ },
+]