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

Unified Diff: components/ukm/public/ukm_recorder.h

Issue 2938443002: [GRC] UKM Support (Closed)
Patch Set: Address reviewer feedback Created 3 years, 6 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 | « components/ukm/public/mojo_ukm_recorder.cc ('k') | content/public/app/mojo/content_browser_manifest.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ukm/public/ukm_recorder.h
diff --git a/components/ukm/public/ukm_recorder.h b/components/ukm/public/ukm_recorder.h
index bcb5a4d2df1fa21565e8ed486e12c950175e68aa..76d921c0c23c050578b83214a6811482486f648c 100644
--- a/components/ukm/public/ukm_recorder.h
+++ b/components/ukm/public/ukm_recorder.h
@@ -7,6 +7,8 @@
#include <stddef.h>
+#include <memory>
+
#include "base/callback.h"
#include "base/feature_list.h"
#include "base/macros.h"
@@ -30,6 +32,10 @@ class RenderFrameImpl;
class RenderWidgetHostLatencyTracker;
}
+namespace resource_coordinator {
+class CoordinationUnitManager;
+}
+
namespace translate {
class TranslateRankerImpl;
}
@@ -85,6 +91,7 @@ class UKM_EXPORT UkmRecorder {
friend content::RenderFrameImpl;
friend content::RenderWidgetHostLatencyTracker;
friend password_manager::PasswordFormMetricsRecorder;
+ friend resource_coordinator::CoordinationUnitManager;
FRIEND_TEST_ALL_PREFIXES(UkmServiceTest, AddEntryWithEmptyMetrics);
FRIEND_TEST_ALL_PREFIXES(UkmServiceTest, EntryBuilderAndSerialization);
FRIEND_TEST_ALL_PREFIXES(UkmServiceTest,
« no previous file with comments | « components/ukm/public/mojo_ukm_recorder.cc ('k') | content/public/app/mojo/content_browser_manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698