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

Unified Diff: components/content_settings/core/browser/host_content_settings_map.h

Issue 1605453003: Ensure content settings aren't persisted in the guest profile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: components/content_settings/core/browser/host_content_settings_map.h
diff --git a/components/content_settings/core/browser/host_content_settings_map.h b/components/content_settings/core/browser/host_content_settings_map.h
index 0c12c48e05b2289690c5204aebe31ac818b154ea..c07a83dc69b7d0270e3fdc3e35e95bc86af85fc3 100644
--- a/components/content_settings/core/browser/host_content_settings_map.h
+++ b/components/content_settings/core/browser/host_content_settings_map.h
@@ -63,7 +63,9 @@ class HostContentSettingsMap : public content_settings::Observer,
// This should be called on the UI thread, otherwise |thread_checker_| handles
// CalledOnValidThread() wrongly.
- HostContentSettingsMap(PrefService* prefs, bool incognito);
+ HostContentSettingsMap(PrefService* prefs,
+ bool is_incognito_profile,
+ bool is_guest_profile);
static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);

Powered by Google App Engine
This is Rietveld 408576698