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

Unified Diff: components/ukm/test_ukm_service.h

Issue 2654843003: Added UkmPageLoadMetricsObserver which sends top-level metrics to UKM (Closed)
Patch Set: Test fix Created 3 years, 11 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 42b814efeb5023a29fdcac9be910b234a0380e7c..39ee475da893d22e0c1df1a2312ce007d58f55fe 100644
--- a/components/ukm/test_ukm_service.h
+++ b/components/ukm/test_ukm_service.h
@@ -37,9 +37,7 @@ class UkmServiceTestingHarness {
UkmServiceTestingHarness();
virtual ~UkmServiceTestingHarness();
- const TestUkmService& test_ukm_service() const {
- return *test_ukm_service_.get();
- }
+ TestUkmService* test_ukm_service() { return test_ukm_service_.get(); }
private:
TestingPrefServiceSimple test_prefs_;

Powered by Google App Engine
This is Rietveld 408576698