| Index: chrome/browser/content_settings/host_content_settings_map_unittest.cc
|
| diff --git a/chrome/browser/content_settings/host_content_settings_map_unittest.cc b/chrome/browser/content_settings/host_content_settings_map_unittest.cc
|
| index 0be5dea1bd5f01290ac2e59a7471b4e3a8f0dea5..d216f8394807687f10f5fedf7c3aa1a45700b5c4 100644
|
| --- a/chrome/browser/content_settings/host_content_settings_map_unittest.cc
|
| +++ b/chrome/browser/content_settings/host_content_settings_map_unittest.cc
|
| @@ -726,9 +726,9 @@ TEST_F(HostContentSettingsMapTest, OffTheRecord) {
|
| }
|
|
|
| TEST_F(HostContentSettingsMapTest, OffTheRecordPartialInheritPref) {
|
| - // Permissions marked INHERIT_IN_INCOGNITO_EXCEPT_ALLOW in
|
| - // ContentSettingsRegistry (e.g. push & notifications) only inherit BLOCK
|
| - // settings from regular to incognito.
|
| + // Permissions marked INHERIT_IN_INCOGNITO_EXCEPT_ALLOW or
|
| + // DENY_IN_INCOGNITO_AFTER_DELAY in ContentSettingsRegistry (e.g. push &
|
| + // notifications) only inherit BLOCK settings from regular to incognito.
|
| TestingProfile profile;
|
| Profile* otr_profile = profile.GetOffTheRecordProfile();
|
| HostContentSettingsMap* host_content_settings_map =
|
| @@ -784,9 +784,10 @@ TEST_F(HostContentSettingsMapTest, OffTheRecordPartialInheritPref) {
|
| }
|
|
|
| TEST_F(HostContentSettingsMapTest, OffTheRecordPartialInheritDefault) {
|
| - // Permissions marked INHERIT_IN_INCOGNITO_EXCEPT_ALLOW in
|
| - // ContentSettingsRegistry (e.g. push & notifications) only inherit BLOCK
|
| - // default settings from regular to incognito.
|
| + // Permissions marked INHERIT_IN_INCOGNITO_EXCEPT_ALLOW or
|
| + // DENY_IN_INCOGNITO_AFTER_DELAY in ContentSettingsRegistry (e.g. push &
|
| + // notifications) only inherit BLOCK default settings from regular to
|
| + // incognito.
|
| TestingProfile profile;
|
| Profile* otr_profile = profile.GetOffTheRecordProfile();
|
| HostContentSettingsMap* host_content_settings_map =
|
|
|