diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-07-22 15:39:23 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-07-22 15:39:23 +0900 |
commit | 42d902982a1d2edbca8ca2edb5fb25e642794e2a (patch) | |
tree | bf7bfe93335458269b251e5a12be32b1c84cb77c /src/background/controllers | |
parent | b130fd52681a4e3f381d3d09a48589fc42996a8b (diff) |
Indicator as Clean Architecture
Diffstat (limited to 'src/background/controllers')
-rw-r--r-- | src/background/controllers/addon-enabled.js | 11 |
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); + } +} |