TODO(estade): It would be nice to be able to select the file in the file manager, but that probably requires extending xdg-open. For now just show the folder.
| 53 | // manager, but that probably requires extending xdg-open. For now just |
| 54 | // show the folder. |
| 55 | void ShowItemInFolderOnFileThread(const base::FilePath& full_path) { |
| 56 | base::FilePath dir = full_path.DirName(); |
| 57 | if (!base::DirectoryExists(dir)) |
| 58 | return; |
| 59 | |
| 60 | XDGOpen(dir.value()); |
| 61 | } |
| 62 | |
| 63 | } // namespace |
| 64 |