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..6f1b62adb22f3a01a7a02bd1b9d5d650ccdf0edf 100644 |
--- a/chrome/browser/ui/webui/options/handler_options_handler.cc |
+++ b/chrome/browser/ui/webui/options/handler_options_handler.cc |
@@ -109,6 +109,11 @@ void HandlerOptionsHandler::GetHandlersForProtocol( |
handlers_value->SetString("protocol", protocol); |
handlers_value->SetInteger("default_handler", |
registry->GetHandlerIndex(protocol)); |
+ handlers_value->SetBoolean( |
+ "registered_by_user", |
bartfab (slow)
2014/09/01 14:56:44
Nit: It is hard to figure out what the exact seman
kaliamoorthi
2014/09/01 15:11:58
Done.
|
+ registry->IsRegisteredByUser(registry->GetHandlerFor(protocol))); |
+ handlers_value->SetBoolean("has_policy_recommendations", |
+ registry->HasPolicyRegisteredHandler(protocol)); |
base::ListValue* handlers_list = new base::ListValue(); |
GetHandlersAsListValue(registry->GetHandlersFor(protocol), handlers_list); |