| 1081 | } |
| 1082 | |
| 1083 | void ClientNetworkContentSocketHandler::OnDownloadProgress(const ContentInfo &ci, int bytes) |
| 1084 | { |
| 1085 | for (size_t i = 0; i < this->callbacks.size(); /* nothing */) { |
| 1086 | ContentCallback *cb = this->callbacks[i]; |
| 1087 | cb->OnDownloadProgress(ci, bytes); |
| 1088 | if (i != this->callbacks.size() && this->callbacks[i] == cb) i++; |
| 1089 | } |
| 1090 | } |
| 1091 | |
| 1092 | void ClientNetworkContentSocketHandler::OnDownloadComplete(ContentID cid) |
| 1093 | { |
no test coverage detected