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

@ -76,6 +76,9 @@ class Browser : public WindowListObserver {
// Set the application user model ID.
void SetAppUserModelID(const base::string16& name);
// Remove the default protocol handler registry key
bool RemoveAsDefaultProtocolClient(const std::string& protocol);
// Set as default handler for a protocol.
bool SetAsDefaultProtocolClient(const std::string& protocol);