diff --git a/web/firefoxcom.js b/web/firefoxcom.js index afa2b69fc854a..8f84d6b9f5c04 100644 --- a/web/firefoxcom.js +++ b/web/firefoxcom.js @@ -320,6 +320,10 @@ class MLManager { return !!(await this.#enabled?.get(name)); } + deleteModel(service) { + return FirefoxCom.requestAsync("mlDelete", service); + } + guess(data) { return FirefoxCom.requestAsync("mlGuess", data); } diff --git a/web/genericcom.js b/web/genericcom.js index 9c646099ef58c..0e224dc247508 100644 --- a/web/genericcom.js +++ b/web/genericcom.js @@ -52,6 +52,10 @@ class MLManager { return false; } + async deleteModel(_service) { + return null; + } + async guess() { return null; }