Chromium Code Reviews| Index: chromecast/media/mojo/cast_media_client.h |
| diff --git a/chromecast/media/mojo/cast_media_client.h b/chromecast/media/mojo/cast_media_client.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e910b62ef610b3b997eae7b39e2cf163d86c5a7c |
| --- /dev/null |
| +++ b/chromecast/media/mojo/cast_media_client.h |
| @@ -0,0 +1,25 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "media/mojo/services/mojo_media_client.h" |
| + |
| +namespace chromecast { |
| +namespace media { |
| + |
| +class CastMediaClient : public ::media::MojoMediaClient { |
|
xhwang
2016/01/29 07:00:44
We actually have media::MediaClient which is diffe
|
| + public: |
| + CastMediaClient(); |
| + ~CastMediaClient() override; |
| + |
| + // MojoMediaClient overrides. |
| + void Initialize() override; |
| + scoped_ptr<::media::RendererFactory> CreateRendererFactory( |
| + const scoped_refptr<::media::MediaLog>& media_log) override; |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(CastMediaClient); |
| +}; |
| + |
| +} // namespace media |
| +} // namespace chromecast |