Index: chrome/browser/media/media_internals.h |
diff --git a/chrome/browser/media/media_internals.h b/chrome/browser/media/media_internals.h |
index 4a8fb7cf42e25bf55bd12ea7d3e6f5bfa0a0e03f..5b1203b8a6975d7f8937f795bca398730330c14b 100644 |
--- a/chrome/browser/media/media_internals.h |
+++ b/chrome/browser/media/media_internals.h |
@@ -13,6 +13,7 @@ |
#include "content/public/browser/media_observer.h" |
class MediaInternalsObserver; |
+class MediaStreamCaptureIndicator; |
namespace media { |
struct MediaLogEvent; |
@@ -40,6 +41,16 @@ class MediaInternals : public content::MediaObserver { |
double volume) OVERRIDE; |
virtual void OnMediaEvent(int render_process_id, |
const media::MediaLogEvent& event) OVERRIDE; |
+ virtual void OnCaptureDevicesOpened( |
+ int render_process_id, |
+ int render_view_id, |
+ const std::string& url, |
+ const content::MediaStreamDevices& devices) OVERRIDE; |
+ virtual void OnCaptureDevicesClosed( |
+ int render_process_id, |
+ int render_view_id, |
+ const std::string& url, |
+ const content::MediaStreamDevices& devices) OVERRIDE; |
// Methods for observers. |
// Observers should add themselves on construction and remove themselves |
@@ -74,6 +85,7 @@ class MediaInternals : public content::MediaObserver { |
static MediaInternals* instance_; |
DictionaryValue data_; |
ObserverList<MediaInternalsObserver> observers_; |
+ scoped_refptr<MediaStreamCaptureIndicator> media_stream_capture_indicator_; |
DISALLOW_COPY_AND_ASSIGN(MediaInternals); |
}; |