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
tree: db56612b095d2161047eeb7299b8b3d2d8f2f643
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/