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

Unified Diff: chrome/browser/media/media_capture_devices_dispatcher.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: chrome/browser/media/media_capture_devices_dispatcher.h
diff --git a/chrome/browser/media/media_capture_devices_dispatcher.h b/chrome/browser/media/media_capture_devices_dispatcher.h
index 3523d46e5b80e831c4c529322cbe387fb5630788..8c2855577f4261b870e6fdab9bf079b8044f2c4e 100644
--- a/chrome/browser/media/media_capture_devices_dispatcher.h
+++ b/chrome/browser/media/media_capture_devices_dispatcher.h
@@ -84,12 +84,6 @@ class MediaCaptureDevicesDispatcher : public content::MediaObserver,
const content::MediaResponseCallback& callback,
const extensions::Extension* extension);
- // Checks if we have media access permission. Note that this only checks the
- // settings and does not query the user.
- bool CheckMediaAccessPermission(content::BrowserContext* browser_context,
- const GURL& security_origin,
- content::MediaStreamType type);
-
// Method called from WebCapturerDelegate implementations to check media
// access permission. Note that this does not query the user.
bool CheckMediaAccessPermission(content::WebContents* web_contents,
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/media/media_capture_devices_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698