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

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

Issue 10790121: First step towards moving AudioDevice from content/ to media/audio. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unnecessary #include Created 8 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/media/audio_input_message_filter.h
diff --git a/content/renderer/media/audio_input_message_filter.h b/content/renderer/media/audio_input_message_filter.h
index ba5e9def33ee31d395488bf664933db518b8b263..7fe69ea9ef19634fbc3bd8eb83e117573908739f 100644
--- a/content/renderer/media/audio_input_message_filter.h
+++ b/content/renderer/media/audio_input_message_filter.h
@@ -14,9 +14,9 @@
#include "base/shared_memory.h"
#include "base/sync_socket.h"
#include "content/common/content_export.h"
-#include "content/common/media/audio_stream_state.h"
#include "ipc/ipc_channel_proxy.h"
#include "media/audio/audio_buffers_state.h"
+#include "media/audio/audio_device_ipc.h"
class CONTENT_EXPORT AudioInputMessageFilter
: public IPC::ChannelProxy::MessageFilter {
@@ -34,7 +34,7 @@ class CONTENT_EXPORT AudioInputMessageFilter
virtual void OnVolume(double volume) = 0;
// Called when state of an input stream has changed in the browser process.
- virtual void OnStateChanged(AudioStreamState state) = 0;
+ virtual void OnStateChanged(media::AudioStreamState state) = 0;
scherkus (not reviewing) 2012/07/23 22:57:51 AIMF should have its own set of state enums case
tommi (sloooow) - chröme 2012/07/24 09:49:44 Makes sense. I'll make interface definitions for
// Called when the device referenced by the index has been started in
// the browswer process.
@@ -78,7 +78,7 @@ class CONTENT_EXPORT AudioInputMessageFilter
// Received when internal state of browser process' audio input stream has
// changed.
- void OnStreamStateChanged(int stream_id, AudioStreamState state);
+ void OnStreamStateChanged(int stream_id, media::AudioStreamState state);
// Notification of the opened device of an audio session.
void OnDeviceStarted(int stream_id, const std::string& device_id);

Powered by Google App Engine
This is Rietveld 408576698