Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Unified Diff: src/device_impl.h

Issue 6250171: cashew: reset local counter on plan transition (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/cashew.git@master
Patch Set: ers review comments Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/device.h ('k') | src/device_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/device_impl.h
diff --git a/src/device_impl.h b/src/device_impl.h
index 8da64fbe1894f253ce276d5f5296c35c2fb984f6..e34d2cbdd4c59196cbfba6e3f77f3b3cebe36c43 100644
--- a/src/device_impl.h
+++ b/src/device_impl.h
@@ -54,10 +54,11 @@ class DeviceImpl : public Device,
virtual bool StartByteCounter();
virtual void StopByteCounter();
virtual bool ByteCounterRunning() const;
+ virtual void ResetByteCounter(uint64 rx_bytes, uint64 tx_bytes);
// ByteCounterDelegate methods
- // called when bye counter is updated
+ // called when byte counter is updated
virtual void OnByteCounterUpdate(const ByteCounter *counter,
uint64 rx_bytes, uint64 tx_bytes);
« no previous file with comments | « src/device.h ('k') | src/device_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698