| Index: chrome/browser/media/media_internals_observer.h
|
| diff --git a/chrome/browser/media/media_internals_observer.h b/chrome/browser/media/media_internals_observer.h
|
| index 3c9be62d8d8647e25c165976421a4eab5c230861..aeff476cc9992bb11c7d3d9768716c5628253c68 100644
|
| --- a/chrome/browser/media/media_internals_observer.h
|
| +++ b/chrome/browser/media/media_internals_observer.h
|
| @@ -5,12 +5,20 @@
|
| #ifndef CHROME_BROWSER_MEDIA_MEDIA_INTERNALS_OBSERVER_H_
|
| #define CHROME_BROWSER_MEDIA_MEDIA_INTERNALS_OBSERVER_H_
|
|
|
| +#include "content/public/common/media_stream_request.h"
|
| +
|
| // Used by MediaInternalsUI to receive callbacks on media events.
|
| // Callbacks will be on the IO thread.
|
| class MediaInternalsObserver {
|
| public:
|
| // Handle an information update consisting of a javascript function call.
|
| - virtual void OnUpdate(const string16& javascript) = 0;
|
| + virtual void OnUpdate(const string16& javascript) {}
|
| +
|
| + // Handle an information update related to a media stream request.
|
| + virtual void OnRequestUpdate(
|
| + const content::MediaStreamDevice& device,
|
| + const content::MediaStreamRequest::RequestState state) {}
|
| +
|
| virtual ~MediaInternalsObserver() {}
|
| };
|
|
|
|
|