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

Unified Diff: chrome/browser/notifications/notification_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/notifications/notification_permission_context.cc
diff --git a/chrome/browser/notifications/notification_permission_context.cc b/chrome/browser/notifications/notification_permission_context.cc
index 261d3c6242aea32b649d4d9bcb457bd090d65118..a159d6999e9325b09c3bdc11b20b29ade7cd2ae5 100644
--- a/chrome/browser/notifications/notification_permission_context.cc
+++ b/chrome/browser/notifications/notification_permission_context.cc
@@ -159,7 +159,9 @@ DEFINE_WEB_CONTENTS_USER_DATA_KEY(VisibilityTimerTabHelper);
NotificationPermissionContext::NotificationPermissionContext(
Profile* profile,
ContentSettingsType content_settings_type)
- : PermissionContextBase(profile, content_settings_type),
+ : PermissionContextBase(profile,
+ content_settings_type,
+ blink::WebFeaturePolicyFeature::kNotFound),
weak_factory_ui_thread_(this) {
DCHECK(content_settings_type == CONTENT_SETTINGS_TYPE_NOTIFICATIONS ||
content_settings_type == CONTENT_SETTINGS_TYPE_PUSH_MESSAGING);

Powered by Google App Engine
This is Rietveld 408576698