This commit is contained in:
Gabriel Handford 2016-10-24 10:09:48 -07:00 committed by Cheng Zhao
parent d186fd78e3
commit 08a9af3a85
2 changed files with 3 additions and 3 deletions

View file

@ -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);

View file

@ -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;