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

Unified Diff: src/device_mock.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_impl.cc ('k') | src/procfs_byte_counter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/device_mock.h
diff --git a/src/device_mock.h b/src/device_mock.h
index d55fbf32113d999f03651ffab487e83966219bc6..8cfddb7776ea24de3b3d8680457ef6c3bae4114b 100644
--- a/src/device_mock.h
+++ b/src/device_mock.h
@@ -22,6 +22,7 @@ class DeviceMock : public Device {
MOCK_METHOD0(StartByteCounter, bool());
MOCK_METHOD0(StopByteCounter, void());
MOCK_CONST_METHOD0(ByteCounterRunning, bool());
+ MOCK_METHOD2(ResetByteCounter, void(uint64 rx_bytes, uint64 tx_bytes));
};
} // namespace cashew
« no previous file with comments | « src/device_impl.cc ('k') | src/procfs_byte_counter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698