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

Unified Diff: chrome/browser/geolocation/geolocation_permission_context.cc

Issue 2898663002: Implement feature policy checks in the browser process (Closed)
Patch Set: Implement feature policy checks in the browser process Created 3 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/geolocation/geolocation_permission_context.cc
diff --git a/chrome/browser/geolocation/geolocation_permission_context.cc b/chrome/browser/geolocation/geolocation_permission_context.cc
index 0283b6c527c9dcca25adbb28a0d344f9da223afd..20358af48d3b04683bfa8f6b7ce506fbd5cb5dbf 100644
--- a/chrome/browser/geolocation/geolocation_permission_context.cc
+++ b/chrome/browser/geolocation/geolocation_permission_context.cc
@@ -16,7 +16,8 @@
GeolocationPermissionContext::GeolocationPermissionContext(Profile* profile)
: PermissionContextBase(profile,
- CONTENT_SETTINGS_TYPE_GEOLOCATION),
+ CONTENT_SETTINGS_TYPE_GEOLOCATION,
+ blink::WebFeaturePolicyFeature::kGeolocation),
extensions_context_(profile) {}
GeolocationPermissionContext::~GeolocationPermissionContext() {
« no previous file with comments | « chrome/browser/background_sync/background_sync_permission_context.cc ('k') | chrome/browser/media/midi_permission_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698