aboutsummaryrefslogtreecommitdiff
path: root/src/background/controllers/find.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/background/controllers/find.js')
-rw-r--r--src/background/controllers/find.js15
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);
+ }
+}