| 507 | } |
| 508 | |
| 509 | std::vector<std::string> GetFilePathsToLoadFromKml(std::string const & filePath) |
| 510 | { // Copy input file to temp output KML with unique name. |
| 511 | auto fileSavePath = GenerateValidAndUniqueFilePathForKML(base::FileNameFromFullPath(filePath)); |
| 512 | if (!base::CopyFileX(filePath, fileSavePath)) |
| 513 | return {}; |
| 514 | return {std::move(fileSavePath)}; |
| 515 | } |
| 516 | |
| 517 | std::unique_ptr<kml::FileData> LoadKmlData(Reader const & reader, KmlFileType fileType) |
| 518 | { |
no test coverage detected