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

Unified Diff: components/ukm/test_ukm_service.h

Issue 2800853004: UKM that threads together multiple form interaction events. (Closed)
Patch Set: Uses size_t for local and server record type count. Created 3 years, 8 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/autofill/core/browser/form_structure.cc ('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 e3ffbf9749d479dd7d9e028c132b82b3048df695..55d5920411dc1042fc045d62efe9fef5f8b62d4f 100644
--- a/components/ukm/test_ukm_service.h
+++ b/components/ukm/test_ukm_service.h
@@ -24,9 +24,11 @@ class TestUkmService : public UkmService {
size_t sources_count() const { return sources_for_testing().size(); }
const std::map<int32_t, std::unique_ptr<UkmSource>>& GetSources() const;
const UkmSource* GetSourceForUrl(const char* url) const;
+ const UkmSource* GetSourceForSourceId(int32_t source_id) const;
size_t entries_count() const { return entries_for_testing().size(); }
const UkmEntry* GetEntry(size_t entry_num) const;
+ const UkmEntry* GetEntryForEntryName(const char* entry_name) const;
private:
metrics::TestMetricsServiceClient test_metrics_service_client_;
« no previous file with comments | « components/autofill/core/browser/form_structure.cc ('k') | components/ukm/test_ukm_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698