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

Unified Diff: content/renderer/audio_message_filter.h

Issue 6717001: Move audio messages to their own file. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 9 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/renderer/audio_device.cc ('k') | content/renderer/audio_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/audio_message_filter.h
===================================================================
--- content/renderer/audio_message_filter.h (revision 78894)
+++ content/renderer/audio_message_filter.h (working copy)
@@ -15,11 +15,10 @@
#include "base/id_map.h"
#include "base/shared_memory.h"
#include "base/sync_socket.h"
+#include "content/common/audio_stream_state.h"
#include "ipc/ipc_channel_proxy.h"
#include "media/audio/audio_buffers_state.h"
-struct ViewMsg_AudioStreamState_Params;
-
namespace base {
class Time;
}
@@ -32,8 +31,7 @@
virtual void OnRequestPacket(AudioBuffersState buffers_state) = 0;
// Called when state of an audio stream has changed in the browser process.
- virtual void OnStateChanged(
- const ViewMsg_AudioStreamState_Params& state) = 0;
+ virtual void OnStateChanged(AudioStreamState state) = 0;
// Called when an audio stream has been created in the browser process.
virtual void OnCreated(base::SharedMemoryHandle handle, uint32 length) = 0;
@@ -100,8 +98,7 @@
// Received when internal state of browser process' audio output device has
// changed.
- void OnStreamStateChanged(int stream_id,
- const ViewMsg_AudioStreamState_Params& state);
+ void OnStreamStateChanged(int stream_id, AudioStreamState state);
// Notification of volume property of an audio output stream.
void OnStreamVolume(int stream_id, double volume);
« no previous file with comments | « content/renderer/audio_device.cc ('k') | content/renderer/audio_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698