| Index: chrome/browser/android/preferences/pref_service_bridge.cc
|
| diff --git a/chrome/browser/android/preferences/pref_service_bridge.cc b/chrome/browser/android/preferences/pref_service_bridge.cc
|
| index 808d56e38c7ab7328065d6167dfb92c915f31c4a..aa37726541fa689390b687b0984c71069ae2c270 100644
|
| --- a/chrome/browser/android/preferences/pref_service_bridge.cc
|
| +++ b/chrome/browser/android/preferences/pref_service_bridge.cc
|
| @@ -275,7 +275,7 @@ static jboolean GetPushNotificationsEnabled(JNIEnv* env, jobject obj) {
|
| HostContentSettingsMap* content_settings =
|
| GetOriginalProfile()->GetHostContentSettingsMap();
|
| return GetBooleanForContentSetting(content_settings,
|
| - CONTENT_SETTINGS_TYPE_PUSH_MESSAGING);
|
| + CONTENT_SETTINGS_TYPE_NOTIFICATIONS);
|
| }
|
|
|
| static jboolean GetAllowLocationEnabled(JNIEnv* env, jobject obj) {
|
| @@ -442,7 +442,7 @@ static void SetPushNotificationsEnabled(JNIEnv* env,
|
| HostContentSettingsMap* host_content_settings_map =
|
| GetOriginalProfile()->GetHostContentSettingsMap();
|
| host_content_settings_map->SetDefaultContentSetting(
|
| - CONTENT_SETTINGS_TYPE_PUSH_MESSAGING,
|
| + CONTENT_SETTINGS_TYPE_NOTIFICATIONS,
|
| allow ? CONTENT_SETTING_ASK : CONTENT_SETTING_BLOCK);
|
| }
|
|
|
|
|