1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "content/public/common/service_registry.h"
6 #include "content/renderer/media/media_renderer_service_provider.h"
10 MediaRendererServiceProvider::MediaRendererServiceProvider(
11 ServiceRegistry
* service_registry
)
12 : service_registry_(service_registry
) {
15 MediaRendererServiceProvider::~MediaRendererServiceProvider() {
18 void MediaRendererServiceProvider::ConnectToService(
19 mojo::InterfacePtr
<mojo::MediaRenderer
>* media_renderer_ptr
) {
20 service_registry_
->ConnectToRemoteService(media_renderer_ptr
);
23 } // namespace content