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

Unified Diff: content/public/browser/media_observer.h

Issue 1873293002: Report if video capturing meets output protection requirement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments and rebased. Created 4 years, 7 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 6e7088b1c184a299070512db5be73e2e8fdd1e09..a7be1f2f0196e6399986087d7939940859e8a8b2 100644
--- a/content/public/browser/media_observer.h
+++ b/content/public/browser/media_observer.h
@@ -34,6 +34,14 @@ class MediaObserver {
virtual void OnCreatingAudioStream(int render_process_id,
int render_frame_id) = 0;
+ // Called when the secure display link status of one or more consumers of this
+ // media stream has changed.
+ virtual void OnSetCapturingLinkSecured(int render_process_id,
+ int render_frame_id,
+ int page_request_id,
+ MediaStreamType stream_type,
+ bool is_secure) = 0;
+
protected:
virtual ~MediaObserver() {}
};

Powered by Google App Engine
This is Rietveld 408576698