| 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 0a1913dd9b7029110f130ead44bda288b127c34f..83f650934f9958d1d4476930210a4f610617de1a 100644
|
| --- a/chrome/browser/custom_handlers/protocol_handler_registry.cc
|
| +++ b/chrome/browser/custom_handlers/protocol_handler_registry.cc
|
| @@ -702,13 +702,15 @@ void ProtocolHandlerRegistry::Shutdown() {
|
|
|
| // static
|
| void ProtocolHandlerRegistry::RegisterUserPrefs(
|
| - PrefRegistrySyncable* registry) {
|
| + user_prefs::PrefRegistrySyncable* registry) {
|
| registry->RegisterListPref(prefs::kRegisteredProtocolHandlers,
|
| - PrefRegistrySyncable::UNSYNCABLE_PREF);
|
| + user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
|
| registry->RegisterListPref(prefs::kIgnoredProtocolHandlers,
|
| - PrefRegistrySyncable::UNSYNCABLE_PREF);
|
| - registry->RegisterBooleanPref(prefs::kCustomHandlersEnabled, true,
|
| - PrefRegistrySyncable::UNSYNCABLE_PREF);
|
| + user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
|
| + registry->RegisterBooleanPref(
|
| + prefs::kCustomHandlersEnabled,
|
| + true,
|
| + user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
|
| }
|
|
|
| ProtocolHandlerRegistry::~ProtocolHandlerRegistry() {
|
|
|