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

Unified Diff: components/ukm/test_ukm_service.h

Issue 2737953002: UKM: Remove UkmService::RecordSource (Closed)
Patch Set: 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
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..8eb466a00eafaa5793d745f32432c6c743619dc0 100644
--- a/components/ukm/test_ukm_service.h
+++ b/components/ukm/test_ukm_service.h
@@ -22,7 +22,7 @@ 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;
size_t entries_count() const { return entries_for_testing().size(); }
const UkmEntry* GetEntry(size_t entry_num) const;

Powered by Google App Engine
This is Rietveld 408576698