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.
4
5#include "chrome/browser/chromeos/login/easy_unlock/easy_unlock_metrics.h"
6
7#include "base/logging.h"
8#include "base/metrics/histogram.h"
9
10namespace chromeos {
11
12void RecordEasyUnlockLoginEvent(EasyUnlockLoginEvent event) {
13  DCHECK_LT(event, EASY_SIGN_IN_LOGIN_EVENT_COUNT);
14
15  UMA_HISTOGRAM_ENUMERATION("EasyUnlock.SignIn.LoginEvent",
16                            event,
17                            EASY_SIGN_IN_LOGIN_EVENT_COUNT);
18}
19
20}  // namespace chromeos
21