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

Unified Diff: chrome/browser/ui/website_settings/website_settings_ui.cc

Issue 1575623002: Disable Web Notifications in Incognito (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permfix
Patch Set: No Profile* in WebsiteSettingsPopupView 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/ui/website_settings/website_settings_ui.cc
diff --git a/chrome/browser/ui/website_settings/website_settings_ui.cc b/chrome/browser/ui/website_settings/website_settings_ui.cc
index 72c1bb9876688f64f7503f24b988e4a14dda9c1e..3e24f3b9f77f9b45107ccfcaa4697840e45a0480 100644
--- a/chrome/browser/ui/website_settings/website_settings_ui.cc
+++ b/chrome/browser/ui/website_settings/website_settings_ui.cc
@@ -122,8 +122,8 @@ WebsiteSettingsUI::PermissionInfo::PermissionInfo()
: type(CONTENT_SETTINGS_TYPE_DEFAULT),
setting(CONTENT_SETTING_DEFAULT),
default_setting(CONTENT_SETTING_DEFAULT),
- source(content_settings::SETTING_SOURCE_NONE) {
-}
+ source(content_settings::SETTING_SOURCE_NONE),
+ is_incognito(false) {}
WebsiteSettingsUI::ChosenObjectInfo::ChosenObjectInfo(
const WebsiteSettings::ChooserUIInfo& ui_info,

Powered by Google App Engine
This is Rietveld 408576698