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

Unified Diff: ios/chrome/browser/content_settings/host_content_settings_map_factory.cc

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: ios/chrome/browser/content_settings/host_content_settings_map_factory.cc
diff --git a/ios/chrome/browser/content_settings/host_content_settings_map_factory.cc b/ios/chrome/browser/content_settings/host_content_settings_map_factory.cc
index dc74ceb9bb02c477807ad27d5cf2754bf53e3fae..ba79587d5103dd7d7f62bc02e9a9bfd9ee9e8e3c 100644
--- a/ios/chrome/browser/content_settings/host_content_settings_map_factory.cc
+++ b/ios/chrome/browser/content_settings/host_content_settings_map_factory.cc
@@ -43,7 +43,7 @@ HostContentSettingsMapFactory::BuildServiceInstanceFor(
GetForBrowserState(browser_state->GetOriginalChromeBrowserState());
}
return make_scoped_refptr(new HostContentSettingsMap(
- browser_state->GetPrefs(), browser_state->IsOffTheRecord()));
+ browser_state->GetPrefs(), browser_state->IsOffTheRecord(), false));
}
web::BrowserState* HostContentSettingsMapFactory::GetBrowserStateToUse(

Powered by Google App Engine
This is Rietveld 408576698