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

Unified Diff: chrome/browser/media/media_stream_device_permissions.h

Issue 965103004: Stop using the MEDIASTREAM content setting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated policy Created 5 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/media_stream_device_permissions.h
diff --git a/chrome/browser/media/media_stream_device_permissions.h b/chrome/browser/media/media_stream_device_permissions.h
index cd24479df75f36e99fe3d6276c51ac050a8b7700..f92609c370a029d38b6ab2c61d141553c0bf579a 100644
--- a/chrome/browser/media/media_stream_device_permissions.h
+++ b/chrome/browser/media/media_stream_device_permissions.h
@@ -5,6 +5,8 @@
#ifndef CHROME_BROWSER_MEDIA_MEDIA_STREAM_DEVICE_PERMISSIONS_H_
#define CHROME_BROWSER_MEDIA_MEDIA_STREAM_DEVICE_PERMISSIONS_H_
+#include "components/content_settings/core/common/content_settings_types.h"
+
class GURL;
class Profile;
@@ -17,7 +19,8 @@ enum MediaStreamDevicePolicy {
// Returns true if security origin is from internal objects like
// chrome://URLs, otherwise returns false.
bool CheckAllowAllMediaStreamContentForOrigin(Profile* profile,
- const GURL& security_origin);
+ const GURL& security_origin,
+ ContentSettingsType type);
// Get the device policy for |security_origin| and |profile|.
MediaStreamDevicePolicy GetDevicePolicy(Profile* profile,

Powered by Google App Engine
This is Rietveld 408576698