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

Unified Diff: media/mojo/services/test_mojo_media_client.h

Issue 1806313003: Pass task runners to AudioManager constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments from patch 48 Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/mojo/services/mojo_media_client.cc ('k') | media/mojo/services/test_mojo_media_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/test_mojo_media_client.h
diff --git a/media/mojo/services/test_mojo_media_client.h b/media/mojo/services/test_mojo_media_client.h
index 8bf795cdbc3de5868b4c340707c6ffa489296505..5494e36569e0d156e70328d79ba1d112678b8628 100644
--- a/media/mojo/services/test_mojo_media_client.h
+++ b/media/mojo/services/test_mojo_media_client.h
@@ -9,7 +9,7 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "media/audio/fake_audio_log_factory.h"
+#include "media/audio/audio_manager.h"
#include "media/mojo/services/mojo_media_client.h"
namespace media {
@@ -26,6 +26,7 @@ class TestMojoMediaClient : public MojoMediaClient {
// MojoMediaClient implementation.
void Initialize() final;
+ void WillQuit() final;
std::unique_ptr<RendererFactory> CreateRendererFactory(
const scoped_refptr<MediaLog>& media_log) final;
AudioRendererSink* CreateAudioRendererSink() final;
@@ -35,7 +36,7 @@ class TestMojoMediaClient : public MojoMediaClient {
shell::mojom::InterfaceProvider* /* interface_provider */) final;
private:
- FakeAudioLogFactory fake_audio_log_factory_;
+ ScopedAudioManagerPtr audio_manager_;
std::unique_ptr<AudioHardwareConfig> audio_hardware_config_;
scoped_refptr<AudioRendererSink> audio_renderer_sink_;
std::unique_ptr<VideoRendererSink> video_renderer_sink_;
« no previous file with comments | « media/mojo/services/mojo_media_client.cc ('k') | media/mojo/services/test_mojo_media_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698