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

Unified Diff: content/public/browser/media_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: content/public/browser/media_observer.h
diff --git a/content/public/browser/media_observer.h b/content/public/browser/media_observer.h
index f7ae0dce3547048fa00a84bfcf4a7b4e3ca80c9c..0c98f76cea0f118f1b8f3441965748c1e2779022 100644
--- a/content/public/browser/media_observer.h
+++ b/content/public/browser/media_observer.h
@@ -49,6 +49,13 @@ class MediaObserver {
int render_view_id,
const content::MediaStreamDevices& devices) = 0;
+ // Called when a media request changes state.
+ virtual void OnMediaRequestStateChanged(
+ int render_process_id,
+ int render_view_id,
+ const content::MediaStreamDevice& device,
+ const content::MediaStreamRequest::RequestState state) = 0;
+
protected:
virtual ~MediaObserver() {}
};

Powered by Google App Engine
This is Rietveld 408576698