Hi team
We are working on exporting the language detection feature to the service workers. Currently the language detection code runs on the main thread of the renderer and depends heavily on static objects so it is not thread-safe.
I wonder if it is possible to set up a mojo service within the renderer to resolve the issue. Is such an approach recommended? If it is, what is the equivalent of the `GetBrowserInterfaceBroker` to register and acquire mojo interfaces within the renderer?
Your help is much appreciated.
Jiacheng Guo