| 356 | } |
| 357 | |
| 358 | std::string GenerateValidAndUniqueFilePathForGPX(std::string const & fileName) |
| 359 | { |
| 360 | std::string filePath = RemoveInvalidSymbols(fileName); |
| 361 | if (filePath.empty()) |
| 362 | filePath = kDefaultBookmarksFileName; |
| 363 | |
| 364 | return GenerateUniqueFileName(GetBookmarksDirectory(), std::move(filePath), kGpxExtension); |
| 365 | } |
| 366 | |
| 367 | std::string GenerateValidAndUniqueTrashedFilePath(std::string const & fileName) |
| 368 | { |
no test coverage detected