Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Side by Side Diff: chromecast/media/mojo/cast_mojo_media_client.cc

Issue 1649933002: [Chromecast] Hook up mojo media pipeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed gn check Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chromecast/media/mojo/BUILD.gn ('k') | content/browser/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 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.
4
5 #include "media/mojo/services/mojo_media_application.h"
6
7 #include "media/mojo/services/mojo_media_client.h"
8
9 namespace {
10 class CastMojoMediaClient : public ::media::MojoMediaClient {
11 public:
12 CastMojoMediaClient() {}
13 ~CastMojoMediaClient() override {}
14
15 // MojoMediaClient overrides.
16 void Initialize() override {}
17 scoped_ptr<::media::RendererFactory> CreateRendererFactory(
18 const scoped_refptr<::media::MediaLog>& media_log) override {
19 return scoped_ptr<::media::RendererFactory>();
20 }
21
22 private:
23 DISALLOW_COPY_AND_ASSIGN(CastMojoMediaClient);
24 };
25 } // namespace
26
27 namespace media {
28 // static
29 scoped_ptr<MojoMediaClient> MojoMediaClient::Create() {
30 return make_scoped_ptr(new CastMojoMediaClient());
31 }
32 } // namespace media
OLDNEW
« no previous file with comments | « chromecast/media/mojo/BUILD.gn ('k') | content/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698