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

Unified Diff: content/browser/renderer_host/media/media_observer.h

Issue 7157001: Implements AudioMessageFilter as member in RenderThread (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Fixed nits in AudioRenderImpl unit test Created 9 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/browser/renderer_host/media/media_observer.h
===================================================================
--- content/browser/renderer_host/media/media_observer.h (revision 92113)
+++ content/browser/renderer_host/media/media_observer.h (working copy)
@@ -13,22 +13,20 @@
virtual ~MediaObserver() {}
// Called when an audio stream is deleted.
- virtual void OnDeleteAudioStream(void* host, int32 render_view,
- int stream_id) = 0;
+ virtual void OnDeleteAudioStream(void* host, int stream_id) = 0;
// Called when an audio stream is set to playing or paused.
- virtual void OnSetAudioStreamPlaying(void* host, int32 render_view,
- int stream_id, bool playing) = 0;
+ virtual void OnSetAudioStreamPlaying(void* host, int stream_id,
+ bool playing) = 0;
// Called when the status of an audio stream is set to "created", "flushed",
// "closed", or "error".
- virtual void OnSetAudioStreamStatus(void* host, int32 render_view,
- int stream_id,
+ virtual void OnSetAudioStreamStatus(void* host, int stream_id,
const std::string& status) = 0;
// Called when the volume of an audio stream is set.
- virtual void OnSetAudioStreamVolume(void* host, int32 render_view,
- int stream_id, double volume) = 0;
+ virtual void OnSetAudioStreamVolume(void* host, int stream_id,
+ double volume) = 0;
};
#endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_OBSERVER_H_

Powered by Google App Engine
This is Rietveld 408576698