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

Unified Diff: content/renderer/media/audio_message_filter.h

Issue 1856673002: Mojofication of the Chrome Audio Rendering Prototype Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « content/content_renderer.gypi ('k') | content/renderer/media/audio_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/audio_message_filter.h
diff --git a/content/renderer/media/audio_message_filter.h b/content/renderer/media/audio_message_filter.h
index dcdc7cd361a1171a540add9ad0d5a0ebce740fbf..370a71034b5802b4afe0636035e866e726a3e335 100644
--- a/content/renderer/media/audio_message_filter.h
+++ b/content/renderer/media/audio_message_filter.h
@@ -15,6 +15,7 @@
#include "base/sync_socket.h"
#include "base/synchronization/lock.h"
#include "content/common/content_export.h"
+#include "content/renderer/media/audio_output_client.h"
#include "ipc/message_filter.h"
#include "media/audio/audio_output_ipc.h"
#include "media/base/audio_hardware_config.h"
@@ -53,6 +54,7 @@ class CONTENT_EXPORT AudioMessageFilter : public IPC::MessageFilter {
~AudioMessageFilter() override;
private:
+ friend AudioOutputClient;
FRIEND_TEST_ALL_PREFIXES(AudioMessageFilterTest, Basic);
FRIEND_TEST_ALL_PREFIXES(AudioMessageFilterTest, Delegates);
@@ -89,6 +91,7 @@ class CONTENT_EXPORT AudioMessageFilter : public IPC::MessageFilter {
// IPC sender for Send(); must only be accessed on |io_task_runner_|.
IPC::Sender* sender_;
+ AudioOutputClient* audio_output_client_;
// A map of stream ids to delegates; must only be accessed on
// |io_task_runner_|.
IDMap<media::AudioOutputIPCDelegate> delegates_;
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/media/audio_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698