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 |