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

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: Rebasing onto http://codereview.chromium.org/7491048 prior to (hopefully) relanding. Created 9 years, 4 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..a5b62e108438b5f6b777d5dc1519f34a7bc8ce45 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,8 @@ 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 render_process_id,
+ const media::MediaLogEvent& event);
// Methods for observers.
// Observers should add themselves on construction and remove themselves

Powered by Google App Engine
This is Rietveld 408576698