Index: chrome/browser/profiles/profile_impl.cc |
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc |
index 2e6026e058b778afb6d200cdaa28de8943d9db80..f8147a37afa7073dcf6a3c157051b6c16793ed6c 100644 |
--- a/chrome/browser/profiles/profile_impl.cc |
+++ b/chrome/browser/profiles/profile_impl.cc |
@@ -326,7 +326,9 @@ void ProfileImpl::RegisterProfilePrefs( |
registry->RegisterBooleanPref(prefs::kSavingBrowserHistoryDisabled, false); |
registry->RegisterBooleanPref(prefs::kAllowDeletingBrowserHistory, true); |
registry->RegisterBooleanPref(prefs::kForceGoogleSafeSearch, false); |
- registry->RegisterBooleanPref(prefs::kForceYouTubeSafetyMode, false); |
+ registry->RegisterIntegerPref( |
+ prefs::kForceYouTubeRestrict, |
+ static_cast<int>(safe_search_util::YouTubeRestrictMode::kOff)); |
registry->RegisterBooleanPref(prefs::kForceSessionSync, false); |
registry->RegisterStringPref(prefs::kAllowedDomainsForApps, std::string()); |