| 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..a1171cb6ce6f6a0e1ea623383ac67c137452c026 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,14 @@ 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 content::MediaStreamDevices& devices) OVERRIDE;
|
| + virtual void OnCaptureDevicesClosed(
|
| + int render_process_id,
|
| + int render_view_id,
|
| + const content::MediaStreamDevices& devices) OVERRIDE;
|
|
|
| // Methods for observers.
|
| // Observers should add themselves on construction and remove themselves
|
| @@ -74,6 +83,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);
|
| };
|
|
|