From 08e33cd67128e6c2fc7c787cc98ff6309453f4ae Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Fri, 11 Dec 2015 11:11:24 -0800 Subject: [PATCH] Fix iOS builds after updates to media.mojom --- sky/services/media/ios/media_service_impl.h | 3 +++ sky/services/media/ios/media_service_impl.mm | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/sky/services/media/ios/media_service_impl.h b/sky/services/media/ios/media_service_impl.h index 7e23c213cbb..e6bfee45733 100644 --- a/sky/services/media/ios/media_service_impl.h +++ b/sky/services/media/ios/media_service_impl.h @@ -23,6 +23,9 @@ class MediaServiceImpl : public ::media::MediaService { void CreatePlayer( mojo::InterfaceRequest<::media::MediaPlayer> player) override; + void CreateSoundPool(mojo::InterfaceRequest<::media::SoundPool> pool, + int32_t max_streams) override; + private: mojo::StrongBinding<::media::MediaService> binding_; MediaPlayerFactory media_player_; diff --git a/sky/services/media/ios/media_service_impl.mm b/sky/services/media/ios/media_service_impl.mm index 0b5f2e8b0b5..bda140722e5 100644 --- a/sky/services/media/ios/media_service_impl.mm +++ b/sky/services/media/ios/media_service_impl.mm @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include "base/logging.h" #include "sky/services/media/ios/media_service_impl.h" namespace sky { @@ -19,6 +20,12 @@ void MediaServiceImpl::CreatePlayer( media_player_.Create(nullptr, player.Pass()); } +void MediaServiceImpl::CreateSoundPool( + mojo::InterfaceRequest<::media::SoundPool> pool, + int32_t max_streams) { + DCHECK(false); +} + void MediaServiceFactory::Create( mojo::ApplicationConnection* connection, mojo::InterfaceRequest<::media::MediaService> request) {