Create EmbeddedWorkerInstanceClient from the Render interface
This change is to create EmbeddedWorkerInstanceClient from the Renderer interface. It used to be created from the InterfaceRegistry, but we didn't have guarantee of IPC message orderings between StartWorker and messages onto the Renderer interface. StartWorker needs to be run after initialization of the renderer (crrev.com/c/1031693 will introduce SetUserAgent message), so this CL is to put the very first IPC for the service worker, which is establishing the Mojo connection, on the Renderer interface. Bug: 818450 Change-Id: I5a5d64fa9aef73ca602633b2b3664110d0a761c9 Reviewed-on: https://chromium-review.googlesource.com/1053042 Commit-Queue: Makoto Shimazu <shimazu@chromium.org> Reviewed-by:Kinuko Yasuda <kinuko@chromium.org> Cr-Commit-Position: refs/heads/master@{#557804}
Showing
Please register or sign in to comment