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

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

Issue 2966643002: media: Plumb MediaLog to MojoVideoDecoderService. (Closed)
Patch Set: Swap client/service directory. Created 3 years, 5 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 | « media/mojo/services/BUILD.gn ('k') | media/mojo/services/gpu_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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_MOJO_SERVICES_GPU_MOJO_MEDIA_CLIENT_H_ 5 #ifndef MEDIA_MOJO_SERVICES_GPU_MOJO_MEDIA_CLIENT_H_
6 #define MEDIA_MOJO_SERVICES_GPU_MOJO_MEDIA_CLIENT_H_ 6 #define MEDIA_MOJO_SERVICES_GPU_MOJO_MEDIA_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 13 matching lines...) Expand all
24 GpuMojoMediaClient( 24 GpuMojoMediaClient(
25 scoped_refptr<base::SingleThreadTaskRunner> gpu_task_runner, 25 scoped_refptr<base::SingleThreadTaskRunner> gpu_task_runner,
26 base::WeakPtr<MediaGpuChannelManager> media_gpu_channel_manager); 26 base::WeakPtr<MediaGpuChannelManager> media_gpu_channel_manager);
27 ~GpuMojoMediaClient() final; 27 ~GpuMojoMediaClient() final;
28 28
29 // MojoMediaClient implementation. 29 // MojoMediaClient implementation.
30 std::unique_ptr<AudioDecoder> CreateAudioDecoder( 30 std::unique_ptr<AudioDecoder> CreateAudioDecoder(
31 scoped_refptr<base::SingleThreadTaskRunner> task_runner) final; 31 scoped_refptr<base::SingleThreadTaskRunner> task_runner) final;
32 std::unique_ptr<VideoDecoder> CreateVideoDecoder( 32 std::unique_ptr<VideoDecoder> CreateVideoDecoder(
33 scoped_refptr<base::SingleThreadTaskRunner> task_runner, 33 scoped_refptr<base::SingleThreadTaskRunner> task_runner,
34 MediaLog* media_log,
34 mojom::CommandBufferIdPtr command_buffer_id, 35 mojom::CommandBufferIdPtr command_buffer_id,
35 OutputWithReleaseMailboxCB output_cb) final; 36 OutputWithReleaseMailboxCB output_cb) final;
36 std::unique_ptr<CdmFactory> CreateCdmFactory( 37 std::unique_ptr<CdmFactory> CreateCdmFactory(
37 service_manager::mojom::InterfaceProvider* interface_provider) final; 38 service_manager::mojom::InterfaceProvider* interface_provider) final;
38 39
39 private: 40 private:
40 scoped_refptr<base::SingleThreadTaskRunner> gpu_task_runner_; 41 scoped_refptr<base::SingleThreadTaskRunner> gpu_task_runner_;
41 base::WeakPtr<MediaGpuChannelManager> media_gpu_channel_manager_; 42 base::WeakPtr<MediaGpuChannelManager> media_gpu_channel_manager_;
42 43
43 DISALLOW_COPY_AND_ASSIGN(GpuMojoMediaClient); 44 DISALLOW_COPY_AND_ASSIGN(GpuMojoMediaClient);
44 }; 45 };
45 46
46 } // namespace media 47 } // namespace media
47 48
48 #endif // MEDIA_MOJO_SERVICES_GPU_MOJO_MEDIA_CLIENT_H_ 49 #endif // MEDIA_MOJO_SERVICES_GPU_MOJO_MEDIA_CLIENT_H_
OLDNEW
« no previous file with comments | « media/mojo/services/BUILD.gn ('k') | media/mojo/services/gpu_mojo_media_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698