| Index: src/device_impl.cc
|
| diff --git a/src/device_impl.cc b/src/device_impl.cc
|
| index 247730816df272900ba72421811d76bd2b8c72a2..1f16ef6ce6eaa8410bdf170fdca07c1b2ccba436 100644
|
| --- a/src/device_impl.cc
|
| +++ b/src/device_impl.cc
|
| @@ -144,6 +144,15 @@ bool DeviceImpl::ByteCounterRunning() const {
|
| return byte_counter_running_;
|
| }
|
|
|
| +void DeviceImpl::ResetByteCounter(uint64 rx_bytes, uint64 tx_bytes) {
|
| + DLOG(INFO) << path_ << ": ResetByteCounter: rx_bytes = " << rx_bytes
|
| + << ", tx_bytes = " << tx_bytes;
|
| + DCHECK(byte_counter_running_);
|
| + DCHECK(byte_counter_ != NULL);
|
| + byte_counter_->SetRxBytes(rx_bytes);
|
| + byte_counter_->SetTxBytes(tx_bytes);
|
| +}
|
| +
|
| // ByteCounterDelegate methods
|
|
|
| void DeviceImpl::OnByteCounterUpdate(const ByteCounter *counter,
|
|
|