Remove notification related dependencies from WebsitePreferenceBridge.
WebLayer won't implement notifications for now, so notifications code is getting left in //chrome. These dependencies are easy to remove and replace with generic permissions/prefs code, which will ease the componentization of WebsitePreferenceBridge. 1. Use PrefServiceBridge to directly set the quiet notification preference instead of adding a specific jni interface in WebsitePreferenceBridge. 2. Use HostContentSettingsMap to set the notification preference by ContentSettingsType rather than using the (thin) wrapper provided by NotificationPermissionContext Bug: 1058600 Change-Id: I450946b545408dbeb1abec6508b3e13f8effb9bc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2122914 Commit-Queue: Evan Stade <estade@chromium.org> Reviewed-by:Natalie Chouinard <chouinard@chromium.org> Reviewed-by:
Balazs Engedy <engedy@chromium.org> Reviewed-by:
Finnur Thorarinsson <finnur@chromium.org> Cr-Commit-Position: refs/heads/master@{#756021}
Showing
Please register or sign in to comment