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

Unified Diff: src/procfs_byte_counter.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_mock.h ('k') | src/procfs_byte_counter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/procfs_byte_counter.h
diff --git a/src/procfs_byte_counter.h b/src/procfs_byte_counter.h
index 78fc8e7f11c71a0d359b0318848874c0e716bb1e..40a250a61c9cf5adf0840ab1b70cc1066d1e33de 100644
--- a/src/procfs_byte_counter.h
+++ b/src/procfs_byte_counter.h
@@ -26,7 +26,9 @@ class ProcfsByteCounter: public ByteCounter {
virtual ~ProcfsByteCounter();
virtual const std::string& GetInterface() const;
virtual uint64 GetRxBytes() const;
+ virtual void SetRxBytes(uint64 rx_bytes);
virtual uint64 GetTxBytes() const;
+ virtual void SetTxBytes(uint64 tx_bytes);
virtual void SetDelegate(ByteCounterDelegate *delegate);
private:
« no previous file with comments | « src/device_mock.h ('k') | src/procfs_byte_counter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698