| 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 a95fd1c285665acdca3f8715d87f2ed593ded451..bab8c445560eba9b7b4e95bf914fa86c8dd9299c 100644
|
| --- a/chrome/browser/custom_handlers/protocol_handler_registry.cc
|
| +++ b/chrome/browser/custom_handlers/protocol_handler_registry.cc
|
| @@ -708,13 +708,14 @@ void ProtocolHandlerRegistry::Shutdown() {
|
| }
|
|
|
| // static
|
| -void ProtocolHandlerRegistry::RegisterPrefs(PrefService* pref_service) {
|
| +void ProtocolHandlerRegistry::RegisterUserPrefs(
|
| + PrefServiceSyncable* pref_service) {
|
| pref_service->RegisterListPref(prefs::kRegisteredProtocolHandlers,
|
| - PrefService::UNSYNCABLE_PREF);
|
| + PrefServiceSyncable::UNSYNCABLE_PREF);
|
| pref_service->RegisterListPref(prefs::kIgnoredProtocolHandlers,
|
| - PrefService::UNSYNCABLE_PREF);
|
| + PrefServiceSyncable::UNSYNCABLE_PREF);
|
| pref_service->RegisterBooleanPref(prefs::kCustomHandlersEnabled, true,
|
| - PrefService::UNSYNCABLE_PREF);
|
| + PrefServiceSyncable::UNSYNCABLE_PREF);
|
| }
|
|
|
| ProtocolHandlerRegistry::~ProtocolHandlerRegistry() {
|
|
|