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

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: Much cleanup and making MediaLog thread safe. 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..6b9114bba0828411e09bced161faeb5c69b5ca68 100644
--- a/chrome/browser/media/media_internals.h
+++ b/chrome/browser/media/media_internals.h
@@ -11,6 +11,7 @@
#include "base/threading/non_thread_safe.h"
#include "base/values.h"
#include "content/browser/renderer_host/media/media_observer.h"
+#include "media/base/media_log.h"
class MediaInternalsObserver;
@@ -26,6 +27,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(const media::MediaLog::Event& 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_log_host.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698