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

Unified Diff: components/ukm/test_ukm_service.h

Issue 2719823003: Convert first contentful paint logging to the new UKM client API (Closed)
Patch Set: renames Created 3 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 | « components/metrics/proto/ukm/source.proto ('k') | components/ukm/test_ukm_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ukm/test_ukm_service.h
diff --git a/components/ukm/test_ukm_service.h b/components/ukm/test_ukm_service.h
index 39ee475da893d22e0c1df1a2312ce007d58f55fe..33c81f28f2f01b653c394cf6561504c654920749 100644
--- a/components/ukm/test_ukm_service.h
+++ b/components/ukm/test_ukm_service.h
@@ -24,6 +24,9 @@ class TestUkmService : public UkmService {
size_t sources_count() const { return sources_for_testing().size(); }
const UkmSource* GetSource(size_t source_num) const;
+ size_t entries_count() const { return entries_for_testing().size(); }
+ const UkmEntry* GetEntry(size_t entry_num) const;
+
private:
metrics::TestMetricsServiceClient test_metrics_service_client_;
« no previous file with comments | « components/metrics/proto/ukm/source.proto ('k') | components/ukm/test_ukm_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698