| 347 | } |
| 348 | |
| 349 | std::string GenerateValidAndUniqueFilePathForKML(std::string const & fileName) |
| 350 | { |
| 351 | std::string filePath = RemoveInvalidSymbols(fileName); |
| 352 | if (filePath.empty()) |
| 353 | filePath = kDefaultBookmarksFileName; |
| 354 | |
| 355 | return GenerateUniqueFileName(GetBookmarksDirectory(), std::move(filePath), kKmlExtension); |
| 356 | } |
| 357 | |
| 358 | std::string GenerateValidAndUniqueFilePathForGPX(std::string const & fileName) |
| 359 | { |
no test coverage detected