| Index: components/proximity_auth/metrics.cc
|
| diff --git a/components/proximity_auth/metrics.cc b/components/proximity_auth/metrics.cc
|
| index 99f74b13e2abf24b8d448007189da5adc7ddfdf6..7b4db8f42bdda59b77274213646920881cf00cf9 100644
|
| --- a/components/proximity_auth/metrics.cc
|
| +++ b/components/proximity_auth/metrics.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "components/proximity_auth/metrics.h"
|
|
|
| +#include "base/logging.h"
|
| #include "base/md5.h"
|
| #include "base/metrics/histogram_macros.h"
|
| #include "base/metrics/sparse_histogram.h"
|
| @@ -69,5 +70,12 @@ void RecordAuthProximityRemoteDeviceModelHash(const std::string& device_model) {
|
| HashDeviceModelName(device_model));
|
| }
|
|
|
| +void RecordRemoteSecuritySettingsState(RemoteSecuritySettingsState state) {
|
| + DCHECK(state < RemoteSecuritySettingsState::COUNT);
|
| + UMA_HISTOGRAM_ENUMERATION(
|
| + "EasyUnlock.RemoteLockScreenState", static_cast<int>(state),
|
| + static_cast<int>(RemoteSecuritySettingsState::COUNT));
|
| +}
|
| +
|
| } // namespace metrics
|
| } // namespace proximity_auth
|
|
|