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

Unified Diff: chrome/browser/media/media_internals.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
« no previous file with comments | « no previous file | chrome/browser/media/media_internals.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/media_internals.h
===================================================================
--- chrome/browser/media/media_internals.h (revision 92113)
+++ chrome/browser/media/media_internals.h (working copy)
@@ -19,14 +19,11 @@
virtual ~MediaInternals();
// MediaObserver implementation. These are called from the IO thread:
- virtual void OnDeleteAudioStream(void* host, int32 render_view,
- int stream_id);
- virtual void OnSetAudioStreamPlaying(void* host, int32 render_view,
- int stream_id, bool playing);
- virtual void OnSetAudioStreamStatus(void* host, int32 render_view,
- int stream_id, const std::string& status);
- virtual void OnSetAudioStreamVolume(void* host, int32 render_view,
- int stream_id, double volume);
+ virtual void OnDeleteAudioStream(void* host, int stream_id);
+ virtual void OnSetAudioStreamPlaying(void* host, int stream_id, bool playing);
+ virtual void OnSetAudioStreamStatus(void* host, int stream_id,
+ const std::string& status);
+ virtual void OnSetAudioStreamVolume(void* host, int stream_id, double volume);
// Methods for observers. Called from the observer's own thread:
// UIs should add themselves on construction and remove themselves
@@ -42,9 +39,9 @@
MediaInternals();
// Sets |property| of an audio stream to |value| and notifies observers.
- // (host, render_view, stream_id) is a unique id for the audio stream.
+ // (host, stream_id) is a unique id for the audio stream.
// |host| will never be dereferenced.
- void UpdateAudioStream(void* host, int32 render_view, int stream_id,
+ void UpdateAudioStream(void* host, int stream_id,
const std::string& property, Value* value);
// Removes |item| from |data_|.
« no previous file with comments | « no previous file | chrome/browser/media/media_internals.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698