refactor: rename OptionsWatcher to PartialOptionsWatcher
We will create a new OptionsProvider class which will eventually replace
PartialOptionsWatcher. This CL renames the latter class so we don't
confuse it with the new one.
Change-Id: Ie28feeb8e2d78e84e812bf937f0ccb08569c8c9c
diff --git a/src/common/mainWorldOptionsWatcher/Server.js b/src/common/mainWorldOptionsWatcher/Server.js
index 353c63d..efa5438 100644
--- a/src/common/mainWorldOptionsWatcher/Server.js
+++ b/src/common/mainWorldOptionsWatcher/Server.js
@@ -1,4 +1,4 @@
-import OptionsWatcher from '../../common/optionsWatcher.js';
+import PartialOptionsWatcher from '../partialOptionsWatcher.js';
import MainWorldContentScriptBridgeServer from '../mainWorldContentScriptBridge/Server.js';
// Main World OptionsWatcher server (used in content scripts to be able to serve
@@ -13,7 +13,7 @@
handleMessage(uuid, action, request) {
if (action === 'setUp') {
- this.optionsWatcher = new OptionsWatcher(request?.options);
+ this.optionsWatcher = new PartialOptionsWatcher(request?.options);
return;
}