mirror of
https://github.com/electron/electron.git
synced 2026-01-26 07:48:08 -05:00
Linting
This commit is contained in:
committed by
Cheng Zhao
parent
d186fd78e3
commit
08a9af3a85
@@ -90,7 +90,7 @@ bool OpenExternal(const GURL& url, bool activate) {
|
||||
}
|
||||
|
||||
bool OpenExternal(const GURL& url, bool activate,
|
||||
const OpenExternalCallback& callback) {
|
||||
const OpenExternalCallback& callback) {
|
||||
// TODO(gabriel): Implement async open if callback is specified
|
||||
bool opened = OpenExternal(url, activate);
|
||||
callback.Run(opened);
|
||||
|
||||
@@ -317,8 +317,8 @@ bool OpenExternal(const base::string16& url, bool activate) {
|
||||
}
|
||||
|
||||
bool OpenExternal(const base::string16& url, bool activate,
|
||||
const OpenExternalCallback& callback) {
|
||||
// // TODO(gabriel): Implement async open if callback is specified
|
||||
const OpenExternalCallback& callback) {
|
||||
// TODO(gabriel): Implement async open if callback is specified
|
||||
bool opened = OpenExternal(url, activate);
|
||||
callback.Run(opened);
|
||||
return opened;
|
||||
|
||||
Reference in New Issue
Block a user