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

Unified Diff: chrome/browser/media/webrtc/media_permission.h

Issue 2728573002: Hoist device logic out of permissions check in MediaStreamDevicesController (Closed)
Patch Set: Hoist device logic out of permissions check in MediaStreamDevicesController Created 3 years, 9 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 | chrome/browser/media/webrtc/media_permission.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/webrtc/media_permission.h
diff --git a/chrome/browser/media/webrtc/media_permission.h b/chrome/browser/media/webrtc/media_permission.h
index 1ab54717a243b81ff139bebf3c8c17e5ec4fcaae..ef7a883965ea85ae9b190da7a6159b3080706c71 100644
--- a/chrome/browser/media/webrtc/media_permission.h
+++ b/chrome/browser/media/webrtc/media_permission.h
@@ -34,12 +34,6 @@ class MediaPermission {
ContentSetting GetPermissionStatus(
content::MediaStreamRequestResult* denial_reason) const;
- // Returns the status of the permission as with GetPermissionStatus but also
- // checks that the specified |device_id| is an available device.
- ContentSetting GetPermissionStatusWithDeviceRequired(
- const std::string& device_id,
- content::MediaStreamRequestResult* denial_reason) const;
-
private:
bool HasAvailableDevices(const std::string& device_id) const;
« no previous file with comments | « no previous file | chrome/browser/media/webrtc/media_permission.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698