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

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

Issue 2877673003: Expose UkmService to content/ (Closed)
Patch Set: Use ukm::SourceId instead of int32 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e58f1099eba8054b37136f46854907fe59353b47..a3d217fd94465febd92a71e324c331ac6150658f 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 UkmRecorder;
+}
+
namespace sandbox {
class TargetPolicy;
}
@@ -800,6 +804,9 @@ class CONTENT_EXPORT ContentBrowserClient {
// Returns the RapporService from the browser process.
virtual ::rappor::RapporService* GetRapporService();
+ // Returns the UkmRecorder from the browser process.
+ virtual ::ukm::UkmRecorder* GetUkmRecorder();
+
// Provides parameters for initializing the global task scheduler. Default
// params are used if this returns nullptr.
virtual std::unique_ptr<base::TaskScheduler::InitParams>
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698