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

Unified Diff: chrome/browser/download/download_request_limiter_unittest.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: chrome/browser/download/download_request_limiter_unittest.cc
diff --git a/chrome/browser/download/download_request_limiter_unittest.cc b/chrome/browser/download/download_request_limiter_unittest.cc
index 113caca3467fed33656f5233e4d48f9f72020bfb..3f2514a65c63e7da64cbfdc9b14d49248373e68a 100644
--- a/chrome/browser/download/download_request_limiter_unittest.cc
+++ b/chrome/browser/download/download_request_limiter_unittest.cc
@@ -112,7 +112,9 @@ class DownloadRequestLimiterTest : public ChromeRenderViewHostTestHarness {
&fake_create_callback_);
#endif
- content_settings_ = new HostContentSettingsMap(profile_->GetPrefs(), false);
+ content_settings_ = new HostContentSettingsMap(
+ profile_->GetPrefs(), false /* incognito_profile */,
+ false /* guest_profile */);
DownloadRequestLimiter::SetContentSettingsForTesting(
content_settings_.get());
}

Powered by Google App Engine
This is Rietveld 408576698