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