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

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
« no previous file with comments | « components/signin/ios/browser/account_consistency_service_unittest.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..980b06c6f8058695cd003ffc0890bda04a52e58a 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,8 @@ 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 /* guest_profile */));
}
web::BrowserState* HostContentSettingsMapFactory::GetBrowserStateToUse(
« no previous file with comments | « components/signin/ios/browser/account_consistency_service_unittest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698