| 73 | } |
| 74 | |
| 75 | void DiffsDataSource::MarkAsApplied(storage::CountryId const & countryId) |
| 76 | { |
| 77 | CHECK_THREAD_CHECKER(m_threadChecker, ()); |
| 78 | |
| 79 | auto it = m_diffs.find(countryId); |
| 80 | if (it == m_diffs.end()) |
| 81 | return; |
| 82 | |
| 83 | it->second.m_isApplied = true; |
| 84 | |
| 85 | if (!IsDiffsAvailable(m_diffs)) |
| 86 | m_status = Status::NotAvailable; |
| 87 | } |
| 88 | |
| 89 | void DiffsDataSource::RemoveDiffForCountry(storage::CountryId const & countryId) |
| 90 | { |
no test coverage detected