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..53234e9408d6f62aa5f32fa57b5beb0c5b73d048 100644 |
--- a/chrome/browser/media/media_internals_observer.h |
+++ b/chrome/browser/media/media_internals_observer.h |
@@ -5,12 +5,18 @@ |
#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) {} |
no longer working on chromium
2012/10/11 09:07:25
add an empty line to separate the function and com
justinlin
2012/10/11 19:41:51
Done.
|
+ // Handle an information update related to a media stream request. |
+ virtual void OnRequestUpdate( |
+ const content::MediaStreamDevice& device, |
+ const content::MediaStreamRequest::RequestState state) {} |
virtual ~MediaInternalsObserver() {} |
no longer working on chromium
2012/10/11 09:07:25
ditto
justinlin
2012/10/11 19:41:51
Done.
|
}; |