feat: convert shell.openItem to async shell.openPath (#20682)
This commit is contained in:
parent
fd70ac1173
commit
d3622f9c37
8 changed files with 121 additions and 58 deletions
|
@ -559,7 +559,9 @@ void InspectableWebContentsImpl::ShowItemInFolder(
|
|||
return;
|
||||
|
||||
base::FilePath path = base::FilePath::FromUTF8Unsafe(file_system_path);
|
||||
platform_util::OpenItem(path);
|
||||
|
||||
// Pass empty callback here; we can ignore errors
|
||||
platform_util::OpenPath(path, platform_util::OpenCallback());
|
||||
}
|
||||
|
||||
void InspectableWebContentsImpl::SaveToFile(const std::string& url,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue