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

Unified Diff: components/ukm/public/mojo_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
Index: components/ukm/public/mojo_ukm_recorder.h
diff --git a/components/ukm/public/mojo_ukm_recorder.h b/components/ukm/public/mojo_ukm_recorder.h
index de959b31f4324dc2da62a8f0d179dd67c328a2fd..2df07803d7b14c30b109c28b1684d757ee5bf471 100644
--- a/components/ukm/public/mojo_ukm_recorder.h
+++ b/components/ukm/public/mojo_ukm_recorder.h
@@ -6,6 +6,7 @@
#define COMPONENTS_UKM_PUBLIC_MOJO_UKM_RECORDER_H_
#include "components/ukm/public/interfaces/ukm_interface.mojom.h"
+#include "components/ukm/public/ukm_export.h"
#include "components/ukm/public/ukm_recorder.h"
namespace ukm {
@@ -24,9 +25,9 @@ namespace ukm {
* recorder.GetEntryBuilder(coordination_unit_id, "MyEvent");
* builder->AddMetric("MyMetric", metric_value);
*/
-class MojoUkmRecorder : public UkmRecorder {
+class UKM_EXPORT MojoUkmRecorder : public UkmRecorder {
public:
- MojoUkmRecorder(mojom::UkmRecorderInterfacePtr interface);
+ explicit MojoUkmRecorder(mojom::UkmRecorderInterfacePtr interface);
~MojoUkmRecorder() override;
private:

Powered by Google App Engine
This is Rietveld 408576698