refactor: make shell.ShowItemInFolder asynchronous (#17121)
* fix: add scoped_blocking_calls to platform_win
1191582
* feat: make ShowItemInFolder async
* address feedback from review
* fix build
This commit is contained in:
parent
08066581b0
commit
5ecda17c7a
5 changed files with 40 additions and 39 deletions
|
@ -23,7 +23,7 @@ typedef base::OnceCallback<void(const std::string&)> OpenExternalCallback;
|
|||
|
||||
// Show the given file in a file manager. If possible, select the file.
|
||||
// Must be called from the UI thread.
|
||||
bool ShowItemInFolder(const base::FilePath& full_path);
|
||||
void ShowItemInFolder(const base::FilePath& full_path);
|
||||
|
||||
// Open the given file in the desktop's default manner.
|
||||
// Must be called from the UI thread.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue