Index: components/policy/core/common/cloud/enterprise_metrics.h |
diff --git a/chrome/browser/policy/cloud/enterprise_metrics.h b/components/policy/core/common/cloud/enterprise_metrics.h |
similarity index 93% |
rename from chrome/browser/policy/cloud/enterprise_metrics.h |
rename to components/policy/core/common/cloud/enterprise_metrics.h |
index 1b0c9206bb1fb2b390356cbbbeb6df144b8f7b6e..c7c5e8af056033219303d4f2d7483642178ab96e 100644 |
--- a/chrome/browser/policy/cloud/enterprise_metrics.h |
+++ b/components/policy/core/common/cloud/enterprise_metrics.h |
@@ -2,8 +2,10 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROME_BROWSER_POLICY_CLOUD_ENTERPRISE_METRICS_H_ |
-#define CHROME_BROWSER_POLICY_CLOUD_ENTERPRISE_METRICS_H_ |
+#ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_ENTERPRISE_METRICS_H_ |
+#define COMPONENTS_POLICY_CORE_COMMON_CLOUD_ENTERPRISE_METRICS_H_ |
+ |
+#include "components/policy/policy_export.h" |
namespace policy { |
@@ -189,12 +191,12 @@ enum MetricPolicyRefresh { |
// Names for the UMA counters. They are shared from here since the events |
// from the same enum above can be triggered in different files, and must use |
// the same UMA histogram name. |
-extern const char kMetricToken[]; |
-extern const char kMetricPolicy[]; |
-extern const char kMetricEnrollment[]; |
-extern const char kMetricPolicyRefresh[]; |
-extern const char kMetricPolicyInvalidations[]; |
+POLICY_EXPORT extern const char kMetricToken[]; |
+POLICY_EXPORT extern const char kMetricPolicy[]; |
+POLICY_EXPORT extern const char kMetricEnrollment[]; |
+POLICY_EXPORT extern const char kMetricPolicyRefresh[]; |
+POLICY_EXPORT extern const char kMetricPolicyInvalidations[]; |
} // namespace policy |
-#endif // CHROME_BROWSER_POLICY_CLOUD_ENTERPRISE_METRICS_H_ |
+#endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_ENTERPRISE_METRICS_H_ |