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

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

Issue 1873293002: Report if video capturing meets output protection requirement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: chrome/browser/media/tab_capture_access_handler.h
diff --git a/chrome/browser/media/tab_capture_access_handler.h b/chrome/browser/media/tab_capture_access_handler.h
index 8c526a71716ed4011489dc2f9a4ba169c03eab7c..d7da168445d78007c5d1cfc506fec28ea1be7085 100644
--- a/chrome/browser/media/tab_capture_access_handler.h
+++ b/chrome/browser/media/tab_capture_access_handler.h
@@ -27,6 +27,20 @@ class TabCaptureAccessHandler : public MediaAccessHandler {
const content::MediaStreamRequest& request,
const content::MediaResponseCallback& callback,
const extensions::Extension* extension) override;
+ bool IsCaptureInProgress(int render_process_id,
+ int render_frame_id,
+ bool* is_link_secure);
+ void UpdateCapturingLinkSecured(int render_process_id,
+ int render_frame_id,
+ int page_request_id,
+ content::MediaStreamType stream_type,
+ bool is_secure);
+
+ private:
+ int render_process_id_;
miu 2016/04/16 00:05:29 1. Shouldn't there be a list of render frames and
xjz 2016/04/21 23:50:45 Done.
+ int render_frame_id_;
+ bool is_capturing_link_secure_;
+ bool extension_whitelisted_;
};
#endif // CHROME_BROWSER_MEDIA_TAB_CAPTURE_ACCESS_HANDLER_H_

Powered by Google App Engine
This is Rietveld 408576698