Index: chrome/browser/profiles/profile_manager.cc |
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc |
index b524dc385c337a064bfc5e98f55168bb9db6161e..794fa60f210bf6a5ca5333f47671ab1e423fe716 100644 |
--- a/chrome/browser/profiles/profile_manager.cc |
+++ b/chrome/browser/profiles/profile_manager.cc |
@@ -79,6 +79,8 @@ |
#include "chrome/browser/supervised_user/child_accounts/child_account_service_factory.h" |
#include "chrome/browser/supervised_user/supervised_user_service.h" |
#include "chrome/browser/supervised_user/supervised_user_service_factory.h" |
+#include "chrome/browser/supervised_user/supervised_user_settings_service.h" |
+#include "chrome/browser/supervised_user/supervised_user_settings_service_factory.h" |
#endif |
#if !defined(OS_IOS) |
@@ -1045,6 +1047,10 @@ void ProfileManager::DoFinalInitForServices(Profile* profile, |
// initializing the supervised flag if necessary). |
ChildAccountServiceFactory::GetForProfile(profile)->Init(); |
SupervisedUserServiceFactory::GetForProfile(profile)->Init(); |
+ SupervisedUserSettingsService* supervised_service = |
+ SupervisedUserSettingsServiceFactory::GetForProfile(profile); |
+ supervised_service->RegisterContentSettings( |
+ profile->GetHostContentSettingsMap()); |
#endif |
// Start the deferred task runners once the profile is loaded. |
StartupTaskRunnerServiceFactory::GetForProfile(profile)-> |