| Index: chrome/browser/ui/webui/options/handler_options_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/handler_options_handler.cc b/chrome/browser/ui/webui/options/handler_options_handler.cc
|
| index 79ba0274f32cc3981ef1a264e9c0c6fe2cb60925..36fa98eb0c3a7e788b96a35ab758733d4c5e8934 100644
|
| --- a/chrome/browser/ui/webui/options/handler_options_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/handler_options_handler.cc
|
| @@ -109,6 +109,9 @@ void HandlerOptionsHandler::GetHandlersForProtocol(
|
| handlers_value->SetString("protocol", protocol);
|
| handlers_value->SetInteger("default_handler",
|
| registry->GetHandlerIndex(protocol));
|
| + handlers_value->SetBoolean(
|
| + "policy_controlled",
|
| + !registry->IsRegisteredByUser(registry->GetHandlerFor(protocol)));
|
|
|
| base::ListValue* handlers_list = new base::ListValue();
|
| GetHandlersAsListValue(registry->GetHandlersFor(protocol), handlers_list);
|
|
|