Commit f49e18ab authored by Becca Hughes's avatar Becca Hughes Committed by Commit Bot

Media Feeds on the FRE should turn on safe search

The consent covers both background fetching and
safe search.

BUG=1120621

Change-Id: I32dbec2b9b1644654ca3f465ef4c7986c952e9ce
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2369296
Commit-Queue: Tommy Steimel <steimel@chromium.org>
Reviewed-by: default avatarTommy Steimel <steimel@chromium.org>
Auto-Submit: Becca Hughes <beccahughes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#801023}
parent 70c48393
......@@ -11,4 +11,4 @@ const char kKaleidoscopeUIURL[] = "chrome://kaleidoscope";
const char kKaleidoscopeUntrustedContentUIURL[] =
"chrome-untrusted://kaleidoscope/";
const int kKaleidoscopeFirstRunLatestVersion = 1;
const int kKaleidoscopeFirstRunLatestVersion = 2;
......@@ -197,6 +197,7 @@ void KaleidoscopeDataProviderImpl::SetMediaFeedsConsent(
if (!prefs)
return;
prefs->SetBoolean(prefs::kMediaFeedsBackgroundFetching, accepted_media_feeds);
prefs->SetBoolean(prefs::kMediaFeedsSafeSearchEnabled, accepted_media_feeds);
// If the user declined to use Media Feeds at all, then there's nothing left
// to do.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment