aboutsummaryrefslogtreecommitdiff
path: root/src/background/controllers/AddonEnabledController.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/background/controllers/AddonEnabledController.js')
-rw-r--r--src/background/controllers/AddonEnabledController.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/background/controllers/AddonEnabledController.js b/src/background/controllers/AddonEnabledController.js
new file mode 100644
index 0000000..9a3a521
--- /dev/null
+++ b/src/background/controllers/AddonEnabledController.js
@@ -0,0 +1,11 @@
+import AddonEnabledUseCase from '../usecases/AddonEnabledUseCase';
+
+export default class AddonEnabledController {
+ constructor() {
+ this.addonEnabledUseCase = new AddonEnabledUseCase();
+ }
+
+ indicate(enabled) {
+ return this.addonEnabledUseCase.indicate(enabled);
+ }
+}