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

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

Issue 2938443002: [GRC] UKM Support (Closed)
Patch Set: Address reviewer feedback and rebase 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
Index: components/ukm/public/ukm_recorder.h
diff --git a/components/ukm/public/ukm_recorder.h b/components/ukm/public/ukm_recorder.h
index a2ca91f0d0022847a512549549c4d6bb8ad9a2ca..857b4722337b841d7064f820ecbcfb89390820c5 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;
}
@@ -80,6 +86,7 @@ class UKM_EXPORT UkmRecorder {
friend content::MediaInternals;
friend content::RenderFrameImpl;
friend content::RenderWidgetHostLatencyTracker;
+ friend resource_coordinator::CoordinationUnitManager;
FRIEND_TEST_ALL_PREFIXES(UkmServiceTest, AddEntryWithEmptyMetrics);
FRIEND_TEST_ALL_PREFIXES(UkmServiceTest, EntryBuilderAndSerialization);
FRIEND_TEST_ALL_PREFIXES(UkmServiceTest,

Powered by Google App Engine
This is Rietveld 408576698