diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-07-22 00:01:24 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-07-22 00:34:22 +0900 |
commit | a1e5e97200bd96ba918744dfa2758f977ca823c6 (patch) | |
tree | f71f0441b92ba892ad538c40d98b8477295c221d /src/background/controllers/find.js | |
parent | 89c28d67fd7b961833b557da904bd17aa28660c5 (diff) |
Find as clean architecture
Diffstat (limited to 'src/background/controllers/find.js')
-rw-r--r-- | src/background/controllers/find.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/background/controllers/find.js b/src/background/controllers/find.js new file mode 100644 index 0000000..7096014 --- /dev/null +++ b/src/background/controllers/find.js @@ -0,0 +1,15 @@ +import FindInteractor from '../usecases/find'; + +export default class FindController { + constructor() { + this.findInteractor = new FindInteractor(); + } + + getKeyword() { + return this.findInteractor.getKeyword(); + } + + setKeyword(keyword) { + return this.findInteractor.setKeyword(keyword); + } +} |