Commit 6a641416 authored by finnur's avatar finnur Committed by Commit bot

Add default allowed value of Ask for Push Notifications.

Push Notifications not only support Ask already, it is the default value, so this should match that reality.

BUG=425698

Review URL: https://codereview.chromium.org/689993002

Cr-Commit-Position: refs/heads/master@{#302136}
parent 8c3bd1e6
...@@ -525,6 +525,7 @@ bool HostContentSettingsMap::IsSettingAllowedForType( ...@@ -525,6 +525,7 @@ bool HostContentSettingsMap::IsSettingAllowedForType(
case CONTENT_SETTINGS_TYPE_PPAPI_BROKER: case CONTENT_SETTINGS_TYPE_PPAPI_BROKER:
case CONTENT_SETTINGS_TYPE_AUTOMATIC_DOWNLOADS: case CONTENT_SETTINGS_TYPE_AUTOMATIC_DOWNLOADS:
case CONTENT_SETTINGS_TYPE_MIDI_SYSEX: case CONTENT_SETTINGS_TYPE_MIDI_SYSEX:
case CONTENT_SETTINGS_TYPE_PUSH_MESSAGING:
return setting == CONTENT_SETTING_ASK; return setting == CONTENT_SETTING_ASK;
default: default:
return false; return false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment