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

Unified Diff: content/public/browser/content_browser_client.h

Issue 2877673003: Expose UkmService to content/ (Closed)
Patch Set: Extract repoting of input metric into another CL Created 3 years, 7 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: content/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index ec24674e6965b27439b3f824f3c2c26f45ca6a6b..4c35c6c8b94f1e3d3430552bb440234b47cc0527 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -87,6 +87,10 @@ namespace rappor {
class RapporService;
}
+namespace ukm {
+class UkmService;
+}
+
namespace sandbox {
class TargetPolicy;
}
@@ -820,6 +824,9 @@ class CONTENT_EXPORT ContentBrowserClient {
// Returns the RapporService from the browser process.
virtual ::rappor::RapporService* GetRapporService();
+ // Returns the UKMService from the browser process.
+ virtual ::ukm::UkmService* GetUkmService();
+
// Provides parameters for initializing the global task scheduler. Default
// params are used if this returns nullptr.
virtual std::unique_ptr<base::TaskScheduler::InitParams>

Powered by Google App Engine
This is Rietveld 408576698