| 187 | } |
| 188 | |
| 189 | void RestrictionWriter::Save() |
| 190 | { |
| 191 | CHECK(!m_stream.is_open(), ("Finish() has not been called.")); |
| 192 | LOG(LINFO, ("Saving restriction values to", GetFilename())); |
| 193 | if (Platform::IsFileExistsByFullPath(GetTmpFilename())) |
| 194 | CHECK(base::CopyFileX(GetTmpFilename(), GetFilename()), ()); |
| 195 | } |
| 196 | |
| 197 | void RestrictionWriter::OrderCollectedData() |
| 198 | { |
nothing calls this directly
no test coverage detected