| 608 | } |
| 609 | |
| 610 | bool SaveKmlFileByExt(kml::FileData & kmlData, std::string const & file) |
| 611 | { |
| 612 | auto const ext = base::GetFileExtension(file); |
| 613 | return SaveKmlFileSafe(kmlData, file, ext == kKmbExtension ? KmlFileType::Binary : KmlFileType::Text); |
| 614 | } |
| 615 | |
| 616 | bool SaveKmlData(kml::FileData & kmlData, Writer & writer, KmlFileType fileType) |
| 617 | { |
no test coverage detected