Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / app_list / app_list_service_impl.cc
index b10f722..cd59dea 100644 (file)
@@ -277,12 +277,6 @@ base::FilePath AppListServiceImpl::GetProfilePath(
 }
 
 void AppListServiceImpl::SetProfilePath(const base::FilePath& profile_path) {
-  // Ensure we don't set the pref to a supervised user's profile path.
-  // TODO(calamity): Filter out supervised profiles from the settings app so
-  // this can't get hit, so we can remove it.
-  if (profile_store_->IsProfileSupervised(profile_path))
-    return;
-
   local_state_->SetString(
       prefs::kAppListProfile,
       profile_path.BaseName().MaybeAsASCII());