Add API: RemoveAsDefaultProtocolHandler

This commit is contained in:
Felix Rieseberg 2016-03-24 10:55:09 -07:00
parent d2567b0381
commit 1231360b2f
6 changed files with 70 additions and 1 deletions

View file

@ -46,6 +46,10 @@ void Browser::ClearRecentDocuments() {
[[NSDocumentController sharedDocumentController] clearRecentDocuments:nil];
}
bool Browser::RemoveAsDefaultProtocolClient(const std::string& protocol) {
return false;
}
bool Browser::SetAsDefaultProtocolClient(const std::string& protocol) {
if (protocol.empty())
return false;