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

Unified Diff: apps/custom_launcher_page_contents.h

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 | « no previous file | apps/custom_launcher_page_contents.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/custom_launcher_page_contents.h
diff --git a/apps/custom_launcher_page_contents.h b/apps/custom_launcher_page_contents.h
index 36e7f79f7114ec6d143c70efae64303b868dabf2..eaa7673a56144a106171b5c97dad178ac6da4ec9 100644
--- a/apps/custom_launcher_page_contents.h
+++ b/apps/custom_launcher_page_contents.h
@@ -71,6 +71,10 @@ class CustomLauncherPageContents
content::WebContents* web_contents,
const content::MediaStreamRequest& request,
const content::MediaResponseCallback& callback) OVERRIDE;
+ virtual bool CheckMediaAccessPermission(
+ content::WebContents* web_contents,
+ const GURL& security_origin,
+ content::MediaStreamType type) OVERRIDE;
private:
// content::WebContentsObserver overrides:
« no previous file with comments | « no previous file | apps/custom_launcher_page_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698