| Index: chrome/browser/external_protocol/external_protocol_handler.cc
|
| diff --git a/chrome/browser/external_protocol/external_protocol_handler.cc b/chrome/browser/external_protocol/external_protocol_handler.cc
|
| index 29f98ed5cc60d7d2187b9138a1103399772be326..36b9fdc51bd090b444a4d077784cb19eeb4ac90b 100644
|
| --- a/chrome/browser/external_protocol/external_protocol_handler.cc
|
| +++ b/chrome/browser/external_protocol/external_protocol_handler.cc
|
| @@ -345,3 +345,9 @@ void ExternalProtocolHandler::RecordHandleStateMetrics(bool checkbox_selected,
|
| void ExternalProtocolHandler::RegisterPrefs(PrefRegistrySimple* registry) {
|
| registry->RegisterDictionaryPref(prefs::kExcludedSchemes);
|
| }
|
| +
|
| +// static
|
| +void ExternalProtocolHandler::ClearData(Profile* profile) {
|
| + PrefService* prefs = profile->GetPrefs();
|
| + prefs->ClearPref(prefs::kExcludedSchemes);
|
| +}
|
|
|