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

Unified Diff: components/ukm/test_ukm_service.h

Issue 2737953002: UKM: Remove UkmService::RecordSource (Closed)
Patch Set: fix error from rebase Created 3 years, 9 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/autofill_metrics_unittest.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 33c81f28f2f01b653c394cf6561504c654920749..e3ffbf9749d479dd7d9e028c132b82b3048df695 100644
--- a/components/ukm/test_ukm_service.h
+++ b/components/ukm/test_ukm_service.h
@@ -22,7 +22,8 @@ class TestUkmService : public UkmService {
~TestUkmService() override;
size_t sources_count() const { return sources_for_testing().size(); }
- const UkmSource* GetSource(size_t source_num) const;
+ const std::map<int32_t, std::unique_ptr<UkmSource>>& GetSources() const;
+ const UkmSource* GetSourceForUrl(const char* url) const;
size_t entries_count() const { return entries_for_testing().size(); }
const UkmEntry* GetEntry(size_t entry_num) const;
« no previous file with comments | « components/autofill/core/browser/autofill_metrics_unittest.cc ('k') | components/ukm/test_ukm_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698