This issue tracks the work necessary to provide workers of all types with an InterfaceProvider so that they may request interfaces for their particular execution context instead of from the global process interface registry.
So far I have determined the following steps for this task:
1. Replace usage of Process::GetInterfaceProvider() with a new WorkerThread::GetInterfaceProvider() that is simply a wrapper around the existing function.
2. Change the object returned from this function from a blink::InterfaceProvider to a service_manager::InterfaceProvider.
3. Enhance MojoInterfaceInterceptor so that it is available from workers and intercepts interface requests made to the WorkerThread's interface provider.
4. Update the browser side code so that it is aware of which worker an interface request came from.
Comment 1 by reillyg@chromium.org
, Jun 16 2017Cc: roc...@chromium.org yzshen@chromium.org