aboutsummaryrefslogtreecommitdiff
path: root/src/background/controllers/addon-enabled.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/background/controllers/addon-enabled.js')
-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..6a9b776
--- /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) {
+ return this.addonEnabledInteractor.indicate(enabled);
+ }
+}