Introduce MojoRendererFactory::ServiceProvider.
Currently MojoRendererFactory takes a ServiceProviderPtr. This works in
HTMLViewer. However, in RenderFrameImpl, we need to use
GetServiceRegistry()->ConnectToRemoteService() to get the MediaRenderer service.
This CL makes it possible to use MojoRendererFactory in both places.
BUG=431776
Review URL: https://codereview.chromium.org/795193003
Cr-Commit-Position: refs/heads/master@{#308537}
CrOS-Libchrome-Original-Commit: bd57385e3c623d0db22159dc686a392f24440d24
1 file changed