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

Unified Diff: content/public/browser/content_browser_client.h

Issue 1125333003: Remove CheckMediaAccessPermission() from ContentBrowserClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index 8b4c4a9a455e5c7e15f57d8ae90cad97f9b48388..b7a92d5786de7013ab21b76e4b647d1748266ae1 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -568,13 +568,6 @@ class CONTENT_EXPORT ContentBrowserClient {
BrowserContext* browser_context,
const GURL& url);
- // Checks if |security_origin| has permission to access the microphone or
- // camera. Note that this does not query the user. |type| must be
- // MEDIA_DEVICE_AUDIO_CAPTURE or MEDIA_DEVICE_VIDEO_CAPTURE.
- virtual bool CheckMediaAccessPermission(BrowserContext* browser_context,
- const GURL& security_origin,
- MediaStreamType type);
-
// Allows to override browser Mojo services exposed through the
// RenderProcessHost.
virtual void OverrideRenderProcessMojoServices(ServiceRegistry* registry) {}
« no previous file with comments | « chrome/browser/media/media_capture_devices_dispatcher.cc ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698