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

Unified Diff: chrome/browser/content_settings/host_content_settings_map_unittest.cc

Issue 1575623002: Disable Web Notifications in Incognito (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permfix
Patch Set: Removed INHERIT_IN_INCOGNITO_EXCEPT_ALLOW Created 4 years, 11 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/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..bd9db58fceb9a4aa27c42bcd1800a338446b7da6 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,8 @@ 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 DENY_IN_INCOGNITO_AFTER_DELAY in ContentSettingsRegistry
+ // (e.g. push & notifications) only inherit BLOCKs from regular to incognito.
TestingProfile profile;
Profile* otr_profile = profile.GetOffTheRecordProfile();
HostContentSettingsMap* host_content_settings_map =
@@ -784,9 +783,8 @@ 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 DENY_IN_INCOGNITO_AFTER_DELAY in ContentSettingsRegistry
+ // (e.g. push & notifications) only inherit BLOCKs from regular to incognito.
TestingProfile profile;
Profile* otr_profile = profile.GetOffTheRecordProfile();
HostContentSettingsMap* host_content_settings_map =

Powered by Google App Engine
This is Rietveld 408576698