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

Side by Side Diff: media/mojo/services/utility_mojo_media_client.h

Issue 2643733002: Allow to use {FFmpeg/Vpx}VideoDecoder from a UtilityProcess (Closed)
Patch Set: Rebase Created 3 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
OLDNEW
(Empty)
1 // Copyright 2017 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 MEDIA_MOJO_SERVICES_UTILITY_MOJO_MEDIA_CLIENT_H_
6 #define MEDIA_MOJO_SERVICES_UTILITY_MOJO_MEDIA_CLIENT_H_
7
8 #include <memory>
9
10 #include "media/mojo/services/mojo_media_client.h"
11
12 namespace base {
13 class SingleThreadTaskRunner;
14 }
15
16 namespace media {
17
18 class VideoDecoder;
19
20 // Default MojoMediaClient for MediaService.
21 class UtilityMojoMediaClient : public MojoMediaClient {
22 public:
23 UtilityMojoMediaClient();
24 ~UtilityMojoMediaClient() final;
25
26 // MojoMediaClient implementation.
27 void Initialize(service_manager::Connector* connector) final;
28 std::unique_ptr<VideoDecoder> CreateVideoDecoder(
29 scoped_refptr<base::SingleThreadTaskRunner> task_runner,
30 mojom::CommandBufferIdPtr command_buffer_id) final;
31
32 DISALLOW_COPY_AND_ASSIGN(UtilityMojoMediaClient);
33 };
34
35 } // namespace media
36
37 #endif // MEDIA_MOJO_SERVICES_UTILITY_MOJO_MEDIA_CLIENT_H_
OLDNEW
« no previous file with comments | « media/mojo/services/media_service_factory.cc ('k') | media/mojo/services/utility_mojo_media_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698