| Index: chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc
|
| diff --git a/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc b/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc
|
| index ba4a42def4ea42a0abc03187ab837627baf5c28a..58251a10c2bbe78c814721bf67409e33f059c854 100644
|
| --- a/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc
|
| +++ b/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc
|
| @@ -304,34 +304,6 @@ base::Value* NetworkConfigurationPolicyHandler::SanitizeNetworkConfig(
|
| return new base::StringValue(json_string);
|
| }
|
|
|
| -PinnedLauncherAppsPolicyHandler::PinnedLauncherAppsPolicyHandler()
|
| - : ExtensionListPolicyHandler(key::kPinnedLauncherApps,
|
| - prefs::kPinnedLauncherApps,
|
| - false) {}
|
| -
|
| -PinnedLauncherAppsPolicyHandler::~PinnedLauncherAppsPolicyHandler() {}
|
| -
|
| -void PinnedLauncherAppsPolicyHandler::ApplyPolicySettings(
|
| - const PolicyMap& policies,
|
| - PrefValueMap* prefs) {
|
| - PolicyErrorMap errors;
|
| - const base::Value* policy_value = policies.GetValue(policy_name());
|
| - const base::ListValue* policy_list = NULL;
|
| - if (policy_value && policy_value->GetAsList(&policy_list) && policy_list) {
|
| - base::ListValue* pinned_apps_list = new base::ListValue();
|
| - for (base::ListValue::const_iterator entry(policy_list->begin());
|
| - entry != policy_list->end(); ++entry) {
|
| - std::string id;
|
| - if ((*entry)->GetAsString(&id)) {
|
| - base::DictionaryValue* app_dict = new base::DictionaryValue();
|
| - app_dict->SetString(ash::kPinnedAppsPrefAppIDPath, id);
|
| - pinned_apps_list->Append(app_dict);
|
| - }
|
| - }
|
| - prefs->SetValue(pref_path(), pinned_apps_list);
|
| - }
|
| -}
|
| -
|
| ScreenMagnifierPolicyHandler::ScreenMagnifierPolicyHandler()
|
| : IntRangePolicyHandlerBase(key::kScreenMagnifierType,
|
| 0, ash::MAGNIFIER_FULL, false) {
|
|
|