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

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. Rebased. Created 4 years, 8 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..66c7ec25a75fbe93743cdb22220dc007a357c3ee 100644
--- a/content/public/browser/media_observer.h
+++ b/content/public/browser/media_observer.h
@@ -34,6 +34,13 @@ class MediaObserver {
virtual void OnCreatingAudioStream(int render_process_id,
int render_frame_id) = 0;
+ // Called when setting if the video capturing is secure.
miu 2016/04/26 01:25:13 s/if/whether/ I'd suggest expanding this comment
xjz 2016/04/29 00:11:42 Done.
+ 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