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 4af9abb6906beaadb1d82924cd13bf654bdf2bf4..70173e7b59e43e1a388c43f21e5de4cec2a9b4aa 100644 |
--- a/chrome/browser/ui/webui/options/handler_options_handler.cc |
+++ b/chrome/browser/ui/webui/options/handler_options_handler.cc |
@@ -106,6 +106,10 @@ void HandlerOptionsHandler::GetHandlersForProtocol( |
const std::string& protocol, |
base::DictionaryValue* handlers_value) { |
ProtocolHandlerRegistry* registry = GetProtocolHandlerRegistry(); |
+ // The items which are to be written into |handlers_value| are also described |
+ // in chrome/browser/resources/options/handler_options.js in @typedef |
+ // for HandlersValue. Please update them whenever you add or remove any keys |
+ // here. |
handlers_value->SetString("protocol", protocol); |
handlers_value->SetInteger("default_handler", |
registry->GetHandlerIndex(protocol)); |