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

Unified Diff: chrome/browser/media/webrtc/media_stream_device_permission_context.cc

Issue 2675483002: Replace PermissionType in chrome/ with ContentSettingsType (Closed)
Patch Set: rebase + include content_settings_types.h more Created 3 years, 10 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/webrtc/media_stream_device_permission_context.cc
diff --git a/chrome/browser/media/webrtc/media_stream_device_permission_context.cc b/chrome/browser/media/webrtc/media_stream_device_permission_context.cc
index 8220b345598a736aa6472c00f309bce88b9d13cf..2d34b90316f8eafcccd82a3b91a6563b25b1f107 100644
--- a/chrome/browser/media/webrtc/media_stream_device_permission_context.cc
+++ b/chrome/browser/media/webrtc/media_stream_device_permission_context.cc
@@ -13,9 +13,8 @@
MediaStreamDevicePermissionContext::MediaStreamDevicePermissionContext(
Profile* profile,
- const content::PermissionType permission_type,
const ContentSettingsType content_settings_type)
- : PermissionContextBase(profile, permission_type, content_settings_type),
+ : PermissionContextBase(profile, content_settings_type),
content_settings_type_(content_settings_type) {
DCHECK(content_settings_type_ == CONTENT_SETTINGS_TYPE_MEDIASTREAM_MIC ||
content_settings_type_ == CONTENT_SETTINGS_TYPE_MEDIASTREAM_CAMERA);

Powered by Google App Engine
This is Rietveld 408576698