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

Unified Diff: counter_mock.h

Issue 3181015: Add # daily crashes metrics and separate kernel crashes out. (Closed) Base URL: ssh://git@chromiumos-git//metrics.git
Patch Set: Respond to review Created 10 years, 4 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 | « counter.cc ('k') | counter_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: counter_mock.h
diff --git a/counter_mock.h b/counter_mock.h
index baa97b0bf0fd05cfcba1c7dfd041730c8994b994..701cce48eed923fd21ee14745961683440ecedb2 100644
--- a/counter_mock.h
+++ b/counter_mock.h
@@ -21,7 +21,15 @@ class TaggedCounterMock : public TaggedCounterInterface {
MOCK_METHOD0(Flush, void());
};
+class FrequencyCounterMock : public FrequencyCounter {
+ public:
+ MOCK_METHOD4(Init, void(const char* filename,
+ TaggedCounterInterface::Reporter reporter,
+ void* reporter_handle,
+ time_t cycle_duration));
+ MOCK_METHOD1(Update, void(int32 count));
+};
+
} // namespace chromeos_metrics
#endif // METRICS_COUNTER_MOCK_H_
-
« no previous file with comments | « counter.cc ('k') | counter_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698