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

Unified Diff: content/browser/renderer_host/media/media_stream_manager.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 oshima and nasko's 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/browser/renderer_host/media/media_stream_manager.h
diff --git a/content/browser/renderer_host/media/media_stream_manager.h b/content/browser/renderer_host/media/media_stream_manager.h
index 8f6dc66b1bdfc895dcd199fa044c6fb5d86e374a..d5f220fdf867bcd3f3e5b0b3bd25a11b30313972 100644
--- a/content/browser/renderer_host/media/media_stream_manager.h
+++ b/content/browser/renderer_host/media/media_stream_manager.h
@@ -259,6 +259,13 @@ class CONTENT_EXPORT MediaStreamManager
// is allowed to access |origin|.
static bool IsOriginAllowed(int render_process_id, const url::Origin& origin);
+ // Set whether the capturing is secure for the capturing session with given
+ // |session_id|, |render_process_id|, and the MediaStreamType |type|.
+ void SetCapturingLinkSecured(int render_process_id,
+ int session_id,
+ content::MediaStreamType type,
+ bool is_secure);
+
private:
// Contains all data needed to keep track of requests.
class DeviceRequest;

Powered by Google App Engine
This is Rietveld 408576698