Allow client to specify EXE file and args to set as default handler

* Optional path param to setAsDefaultProtocolClient
* Optional args param to setAsDefaultProtocolClient
This commit is contained in:
Samuel Attard 2016-08-16 15:35:20 +10:00
parent 420f756c47
commit e5daf63b0e
No known key found for this signature in database
GPG key ID: 273DC1869D8F13EF
4 changed files with 55 additions and 32 deletions

View file

@ -35,15 +35,15 @@ void Browser::ClearRecentDocuments() {
void Browser::SetAppUserModelID(const base::string16& name) {
}
bool Browser::RemoveAsDefaultProtocolClient(const std::string& protocol) {
bool Browser::RemoveAsDefaultProtocolClient(const std::string& protocol, mate::Arguments* args) {
return false;
}
bool Browser::SetAsDefaultProtocolClient(const std::string& protocol) {
bool Browser::SetAsDefaultProtocolClient(const std::string& protocol, mate::Arguments* args) {
return false;
}
bool Browser::IsDefaultProtocolClient(const std::string& protocol) {
bool Browser::IsDefaultProtocolClient(const std::string& protocol, mate::Arguments* args) {
return false;
}