| 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..d7fffc8d5b087be343d2835b084f010dad991afd 100644
|
| --- a/chrome/browser/media/media_internals_observer.h
|
| +++ b/chrome/browser/media/media_internals_observer.h
|
| @@ -5,12 +5,21 @@
|
| #ifndef CHROME_BROWSER_MEDIA_MEDIA_INTERNALS_OBSERVER_H_
|
| #define CHROME_BROWSER_MEDIA_MEDIA_INTERNALS_OBSERVER_H_
|
|
|
| +#include "content/public/browser/media_request_state.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::MediaRequestState state) {}
|
| +
|
| virtual ~MediaInternalsObserver() {}
|
| };
|
|
|
|
|