Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3644)

Unified Diff: chrome/browser/media/media_internals_observer.h

Issue 10928043: Media Related changes for TabCapture API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.
};

Powered by Google App Engine
This is Rietveld 408576698