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

Unified Diff: chrome/browser/media/media_internals.h

Issue 7480032: Plumb media data from renderers up to MediaInternals in the browser process. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Responding to feedback. 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: chrome/browser/media/media_internals.h
diff --git a/chrome/browser/media/media_internals.h b/chrome/browser/media/media_internals.h
index c0d276e1196f527f0aa4e8dea741cd6aabf610b2..7bde88355778aaa0f82caf1f6e805cfaeb43a103 100644
--- a/chrome/browser/media/media_internals.h
+++ b/chrome/browser/media/media_internals.h
@@ -14,6 +14,10 @@
class MediaInternalsObserver;
+namespace media {
+struct MediaLogEvent;
+}
+
// This class stores information about currently active media.
// All of its methods are called on the IO thread.
class MediaInternals : public MediaObserver, public base::NonThreadSafe {
@@ -26,6 +30,7 @@ class MediaInternals : public MediaObserver, public base::NonThreadSafe {
virtual void OnSetAudioStreamStatus(void* host, int stream_id,
const std::string& status);
virtual void OnSetAudioStreamVolume(void* host, int stream_id, double volume);
+ virtual void OnMediaEvent(int source, const media::MediaLogEvent& event);
// Methods for observers.
// Observers should add themselves on construction and remove themselves
« no previous file with comments | « no previous file | chrome/browser/media/media_internals.cc » ('j') | content/browser/renderer_host/media/media_observer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698