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

Unified Diff: ios/chrome/browser/application_context.h

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/browser/BUILD.gn ('k') | ios/chrome/browser/application_context_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/application_context.h
diff --git a/ios/chrome/browser/application_context.h b/ios/chrome/browser/application_context.h
index cf49fd29e30cd8d4fb7b6eac99a57a7e390ed042..0643826f8e87f12e6d14a8a3c69042d5cee93c51 100644
--- a/ios/chrome/browser/application_context.h
+++ b/ios/chrome/browser/application_context.h
@@ -49,6 +49,10 @@ namespace rappor {
class RapporServiceImpl;
}
+namespace ukm {
+class UkmService;
+}
+
namespace variations {
class VariationsService;
}
@@ -99,6 +103,9 @@ class ApplicationContext {
// Gets the MetricsService used by this application.
virtual metrics::MetricsService* GetMetricsService() = 0;
+ // Gets the UkmService used by this application.
+ virtual ukm::UkmService* GetUkmService() = 0;
+
// Gets the VariationsService used by this application.
virtual variations::VariationsService* GetVariationsService() = 0;
« no previous file with comments | « ios/chrome/browser/BUILD.gn ('k') | ios/chrome/browser/application_context_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698