Index: chrome/browser/profiles/profile_impl.cc |
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc |
index eb3077806a2ebb5e7d12ad227e4d48542848a26e..667a5ba6d18a4d2710331c520aa2764772d33f5c 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::OFF)); |
registry->RegisterBooleanPref(prefs::kForceSessionSync, false); |
registry->RegisterStringPref(prefs::kAllowedDomainsForApps, std::string()); |