Re-subimission of https://codereview.chromium.org/1041213003/
[chromium-blink-merge.git] / content / renderer / media / media_renderer_service_provider.cc
blob4f3b8f2effb04a38b15d8c4c25a0de41fdfed530
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"
8 namespace content {
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