1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENROLLMENT_UMA_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENROLLMENT_UMA_H_
8 #include "chrome/browser/chromeos/policy/enrollment_config.h"
9 #include "components/policy/core/common/cloud/enterprise_metrics.h"
13 // Logs an UMA |event| in "Enrollment.*" histogram. Histogram is chosen
14 // depending on |mode|.
15 void EnrollmentUMA(policy::MetricEnrollment sample
,
16 policy::EnrollmentConfig::Mode mode
);
18 } // namespace chromeos
20 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENROLLMENT_UMA_H_