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

Unified Diff: chrome/browser/ui/browser.cc

Issue 562263002: Check media permissions through RenderFrameHostDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@render_frame_get_sources
Patch Set: Rebase Created 6 years, 3 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
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | chrome/browser/ui/media_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 6770f8e8e5c76e78f63b664e02b136d310643551..0525e02fffecdf9cef21665c93a8cabe13fb5940 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -1759,6 +1759,12 @@ void Browser::RequestMediaAccessPermission(
::RequestMediaAccessPermission(web_contents, profile_, request, callback);
}
+bool Browser::CheckMediaAccessPermission(content::WebContents* web_contents,
+ const GURL& security_origin,
+ content::MediaStreamType type) {
+ return ::CheckMediaAccessPermission(web_contents, security_origin, type);
+}
+
bool Browser::RequestPpapiBrokerPermission(
WebContents* web_contents,
const GURL& url,
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | chrome/browser/ui/media_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698