Fix iOS builds after updates to media.mojom

This commit is contained in:
Chinmay Garde 2015-12-11 11:11:24 -08:00
parent 92a516a5c1
commit 08e33cd671
2 changed files with 10 additions and 0 deletions

View File

@ -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_;

View File

@ -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) {