| 499 | } |
| 500 | |
| 501 | std::vector<std::string> GetFilePathsToLoadFromGpx(std::string const & filePath) |
| 502 | { // Copy input file to temp GPX with unique name. |
| 503 | auto fileSavePath = GenerateValidAndUniqueFilePathForGPX(base::FileNameFromFullPath(filePath)); |
| 504 | if (!base::CopyFileX(filePath, fileSavePath)) |
| 505 | return {}; |
| 506 | return {std::move(fileSavePath)}; |
| 507 | } |
| 508 | |
| 509 | std::vector<std::string> GetFilePathsToLoadFromKml(std::string const & filePath) |
| 510 | { // Copy input file to temp output KML with unique name. |
no test coverage detected