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

Unified Diff: ios/chrome/test/testing_application_context.mm

Issue 2722113004: Flush UKM metrics when backgrounded on Android and iOS. (Closed)
Patch Set: address comment 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 | « ios/chrome/test/testing_application_context.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/test/testing_application_context.mm
diff --git a/ios/chrome/test/testing_application_context.mm b/ios/chrome/test/testing_application_context.mm
index 83102942cf09b228dbd965610e64c918e7c6ec2f..9d8eda29a6e49cf14c3e027d101662110bd9de8d 100644
--- a/ios/chrome/test/testing_application_context.mm
+++ b/ios/chrome/test/testing_application_context.mm
@@ -105,6 +105,11 @@ metrics::MetricsService* TestingApplicationContext::GetMetricsService() {
return nullptr;
}
+ukm::UkmService* TestingApplicationContext::GetUkmService() {
+ DCHECK(thread_checker_.CalledOnValidThread());
+ return nullptr;
+}
+
variations::VariationsService*
TestingApplicationContext::GetVariationsService() {
DCHECK(thread_checker_.CalledOnValidThread());
« no previous file with comments | « ios/chrome/test/testing_application_context.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698