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

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

Issue 2115603002: Use FFmpegVideoDecoder from a UtilityProcess (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build error on win Created 4 years 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 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 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() final;
28 std::unique_ptr<VideoDecoder> CreateVideoDecoder(
29 scoped_refptr<base::SingleThreadTaskRunner> task_runner) final;
30
31 DISALLOW_COPY_AND_ASSIGN(UtilityMojoMediaClient);
32 };
33
34 } // namespace media
35
36 #endif // MEDIA_MOJO_SERVICES_UTILITY_MOJO_MEDIA_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698