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

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

Issue 2643743002: Mojify demuxers and allow running {Chunk/FFmpeg}Demuxer in a Utility Process (Closed)
Patch Set: Rebase and make sure to unbind mojom::DemuxerPtr on the bound thread during termination 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
1 // Copyright 2017 The Chromium Authors. All rights reserved. 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 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_UTILITY_MOJO_MEDIA_CLIENT_H_ 5 #ifndef MEDIA_MOJO_SERVICES_UTILITY_MOJO_MEDIA_CLIENT_H_
6 #define MEDIA_MOJO_SERVICES_UTILITY_MOJO_MEDIA_CLIENT_H_ 6 #define MEDIA_MOJO_SERVICES_UTILITY_MOJO_MEDIA_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
(...skipping 18 matching lines...) Expand all
29 void Initialize(service_manager::Connector* connector) final; 29 void Initialize(service_manager::Connector* connector) final;
30 scoped_refptr<AudioRendererSink> CreateAudioRendererSink( 30 scoped_refptr<AudioRendererSink> CreateAudioRendererSink(
31 const std::string& audio_device_id) final; 31 const std::string& audio_device_id) final;
32 std::unique_ptr<VideoRendererSink> CreateVideoRendererSink( 32 std::unique_ptr<VideoRendererSink> CreateVideoRendererSink(
33 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) final; 33 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) final;
34 std::unique_ptr<VideoDecoder> CreateVideoDecoder( 34 std::unique_ptr<VideoDecoder> CreateVideoDecoder(
35 scoped_refptr<base::SingleThreadTaskRunner> task_runner, 35 scoped_refptr<base::SingleThreadTaskRunner> task_runner,
36 mojom::CommandBufferIdPtr command_buffer_id) final; 36 mojom::CommandBufferIdPtr command_buffer_id) final;
37 std::unique_ptr<RendererFactory> CreateRendererFactory( 37 std::unique_ptr<RendererFactory> CreateRendererFactory(
38 const scoped_refptr<MediaLog>& media_log) final; 38 const scoped_refptr<MediaLog>& media_log) final;
39 std::unique_ptr<DemuxerFactory> CreateDemuxerFactory(
40 const scoped_refptr<MediaLog>& media_log) final;
39 41
40 private: 42 private:
41 scoped_refptr<base::SingleThreadTaskRunner> utility_task_runner_; 43 scoped_refptr<base::SingleThreadTaskRunner> utility_task_runner_;
42 44
43 DISALLOW_COPY_AND_ASSIGN(UtilityMojoMediaClient); 45 DISALLOW_COPY_AND_ASSIGN(UtilityMojoMediaClient);
44 }; 46 };
45 47
46 } // namespace media 48 } // namespace media
47 49
48 #endif // MEDIA_MOJO_SERVICES_UTILITY_MOJO_MEDIA_CLIENT_H_ 50 #endif // MEDIA_MOJO_SERVICES_UTILITY_MOJO_MEDIA_CLIENT_H_
OLDNEW
« no previous file with comments | « media/mojo/services/mojo_source_buffer_service.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