| 175 | } |
| 176 | |
| 177 | bool InboundTransfer::TransferFinished() const { |
| 178 | return total_length_ > 0 && cur_offset_ == total_length_; |
| 179 | } |
| 180 | |
| 181 | string InboundTransfer::StatusAsString() const { |
| 182 | return Substitute("$0/$1 bytes received", cur_offset_, total_length_); |
no test coverage detected