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

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

Issue 1697233002: Reland of land "media: Refactor MojoMediaClient" with fix. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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') | chromecast/media/mojo/cast_mojo_media_client.cc » ('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 #ifndef CHROMECAST_MEDIA_MOJO_CAST_MOJO_MEDIA_CLIENT_H_
6 #define CHROMECAST_MEDIA_MOJO_CAST_MOJO_MEDIA_CLIENT_H_
7
8 #include "media/mojo/services/mojo_media_client.h"
9
10 namespace chromecast {
11 namespace media {
12
13 class CastMojoMediaClient : public ::media::MojoMediaClient {
14 public:
15 CastMojoMediaClient();
16 ~CastMojoMediaClient() override;
17
18 static scoped_ptr<::media::MojoMediaClient> Create();
19
20 // MojoMediaClient overrides.
21 void Initialize() override;
22 scoped_ptr<::media::RendererFactory> CreateRendererFactory(
23 const scoped_refptr<::media::MediaLog>& media_log) override;
24
25 private:
26 DISALLOW_COPY_AND_ASSIGN(CastMojoMediaClient);
27 };
28
29 } // namespace media
30 } // namespace chromecast
31
32 #endif // CHROMECAST_MEDIA_MOJO_CAST_MOJO_MEDIA_CLIENT_H_
OLDNEW
« no previous file with comments | « chromecast/media/mojo/BUILD.gn ('k') | chromecast/media/mojo/cast_mojo_media_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698