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 |