| Index: chrome/browser/custom_handlers/protocol_handler_registry.cc
|
| diff --git a/chrome/browser/custom_handlers/protocol_handler_registry.cc b/chrome/browser/custom_handlers/protocol_handler_registry.cc
|
| index 88a20e3562090227c46416abd69697695b9f753e..43b1b20694a49f4e421c05ec630f16e1f5ad832d 100644
|
| --- a/chrome/browser/custom_handlers/protocol_handler_registry.cc
|
| +++ b/chrome/browser/custom_handlers/protocol_handler_registry.cc
|
| @@ -727,18 +727,11 @@ void ProtocolHandlerRegistry::Shutdown() {
|
| // static
|
| void ProtocolHandlerRegistry::RegisterProfilePrefs(
|
| user_prefs::PrefRegistrySyncable* registry) {
|
| - registry->RegisterListPref(prefs::kRegisteredProtocolHandlers,
|
| - user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
|
| - registry->RegisterListPref(prefs::kIgnoredProtocolHandlers,
|
| - user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
|
| - registry->RegisterListPref(prefs::kPolicyRegisteredProtocolHandlers,
|
| - user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
|
| - registry->RegisterListPref(prefs::kPolicyIgnoredProtocolHandlers,
|
| - user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
|
| - registry->RegisterBooleanPref(
|
| - prefs::kCustomHandlersEnabled,
|
| - true,
|
| - user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
|
| + registry->RegisterListPref(prefs::kRegisteredProtocolHandlers);
|
| + registry->RegisterListPref(prefs::kIgnoredProtocolHandlers);
|
| + registry->RegisterListPref(prefs::kPolicyRegisteredProtocolHandlers);
|
| + registry->RegisterListPref(prefs::kPolicyIgnoredProtocolHandlers);
|
| + registry->RegisterBooleanPref(prefs::kCustomHandlersEnabled, true);
|
| }
|
|
|
| ProtocolHandlerRegistry::~ProtocolHandlerRegistry() {
|
|
|