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

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

Issue 1942803002: Caching AudioOutputDevice instances in mixer manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make WebAudioSourceProvider to always return real sink info reguardless the client - to avoid behavior change. Created 4 years, 6 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/media.gyp ('k') | media/mojo/services/test_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_TEST_MOJO_MEDIA_CLIENT_H_ 5 #ifndef MEDIA_MOJO_SERVICES_TEST_MOJO_MEDIA_CLIENT_H_
6 #define MEDIA_MOJO_SERVICES_TEST_MOJO_MEDIA_CLIENT_H_ 6 #define MEDIA_MOJO_SERVICES_TEST_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 19 matching lines...) Expand all
30 std::unique_ptr<RendererFactory> CreateRendererFactory( 30 std::unique_ptr<RendererFactory> CreateRendererFactory(
31 const scoped_refptr<MediaLog>& media_log) final; 31 const scoped_refptr<MediaLog>& media_log) final;
32 AudioRendererSink* CreateAudioRendererSink() final; 32 AudioRendererSink* CreateAudioRendererSink() final;
33 VideoRendererSink* CreateVideoRendererSink( 33 VideoRendererSink* CreateVideoRendererSink(
34 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) final; 34 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) final;
35 std::unique_ptr<CdmFactory> CreateCdmFactory( 35 std::unique_ptr<CdmFactory> CreateCdmFactory(
36 shell::mojom::InterfaceProvider* /* interface_provider */) final; 36 shell::mojom::InterfaceProvider* /* interface_provider */) final;
37 37
38 private: 38 private:
39 ScopedAudioManagerPtr audio_manager_; 39 ScopedAudioManagerPtr audio_manager_;
40 std::unique_ptr<AudioHardwareConfig> audio_hardware_config_;
41 scoped_refptr<AudioRendererSink> audio_renderer_sink_; 40 scoped_refptr<AudioRendererSink> audio_renderer_sink_;
42 std::unique_ptr<VideoRendererSink> video_renderer_sink_; 41 std::unique_ptr<VideoRendererSink> video_renderer_sink_;
43 42
44 DISALLOW_COPY_AND_ASSIGN(TestMojoMediaClient); 43 DISALLOW_COPY_AND_ASSIGN(TestMojoMediaClient);
45 }; 44 };
46 45
47 } // namespace media 46 } // namespace media
48 47
49 #endif // MEDIA_MOJO_SERVICES_TEST_MOJO_MEDIA_CLIENT_H_ 48 #endif // MEDIA_MOJO_SERVICES_TEST_MOJO_MEDIA_CLIENT_H_
OLDNEW
« no previous file with comments | « media/media.gyp ('k') | media/mojo/services/test_mojo_media_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698