| Index: chrome/browser/chromeos/login/easy_unlock/easy_unlock_metrics.h
|
| diff --git a/chrome/browser/chromeos/login/easy_unlock/easy_unlock_metrics.h b/chrome/browser/chromeos/login/easy_unlock/easy_unlock_metrics.h
|
| deleted file mode 100644
|
| index b1779169f92aac1703b4b59c5a542a1fed5ee582..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/chromeos/login/easy_unlock/easy_unlock_metrics.h
|
| +++ /dev/null
|
| @@ -1,72 +0,0 @@
|
| -// Copyright 2014 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_EASY_UNLOCK_EASY_UNLOCK_METRICS_H_
|
| -#define CHROME_BROWSER_CHROMEOS_LOGIN_EASY_UNLOCK_EASY_UNLOCK_METRICS_H_
|
| -
|
| -namespace chromeos {
|
| -
|
| -// Tracking login events for Easy unlock metrics.
|
| -// This enum is used to define the buckets for an enumerated UMA histogram.
|
| -// Hence,
|
| -// (a) existing enumerated constants should never be deleted or reordered, and
|
| -// (b) new constants should only be appended at the end of the enumeration.
|
| -enum EasyUnlockLoginEvent {
|
| - // User is successfully authenticated using Easy Sign-in.
|
| - EASY_SIGN_IN_SUCCESS = 0,
|
| - // Easy sign-in failed to authenticate the user.
|
| - EASY_SIGN_IN_FAILURE = 1,
|
| -
|
| - // Password is used for sign-in because there is no pairing data.
|
| - PASSWORD_SIGN_IN_NO_PAIRING = 2,
|
| - // Password is used for sign-in because pairing data is changed.
|
| - PASSWORD_SIGN_IN_PAIRING_CHANGED = 3,
|
| - // Password is used for sign-in because of user hardlock.
|
| - PASSWORD_SIGN_IN_USER_HARDLOCK = 4,
|
| - // Password is used for sign-in because Easy unlock service is not active.
|
| - PASSWORD_SIGN_IN_SERVICE_NOT_ACTIVE = 5,
|
| - // Password is used for sign-in because Bluetooth is not on.
|
| - PASSWORD_SIGN_IN_NO_BLUETOOTH = 6,
|
| - // Password is used for sign-in because Easy unlock is connecting.
|
| - PASSWORD_SIGN_IN_BLUETOOTH_CONNECTING = 7,
|
| - // Password is used for sign-in because no eligible phones found.
|
| - PASSWORD_SIGN_IN_NO_PHONE = 8,
|
| - // Password is used for sign-in because phone could not be authenticated.
|
| - PASSWORD_SIGN_IN_PHONE_NOT_AUTHENTICATED = 9,
|
| - // Password is used for sign-in because phone is locked.
|
| - PASSWORD_SIGN_IN_PHONE_LOCKED = 10,
|
| - // Password is used for sign-in because phone does not have lock screen.
|
| - PASSWORD_SIGN_IN_PHONE_NOT_LOCKABLE = 11,
|
| - // Password is used for sign-in because phone is not close enough (roughly,
|
| - // at least 30 feet away).
|
| - PASSWORD_SIGN_IN_RSSI_TOO_LOW = 12,
|
| - // Password is used for sign-in because phone is not supported.
|
| - PASSWORD_SIGN_IN_PHONE_UNSUPPORTED = 13,
|
| - // Password is used for sign-in because user types in passowrd. This is
|
| - // unlikely to happen though.
|
| - PASSWORD_SIGN_IN_WITH_AUTHENTICATED_PHONE = 14,
|
| - // Password is used for sign-in because phone is not right next to the
|
| - // Chromebook.
|
| - PASSWORD_SIGN_IN_TX_POWER_TOO_HIGH = 15,
|
| - // Password is used for sign-in because Easy sign-in failed.
|
| - PASSWORD_SIGN_IN_LOGIN_FAILED = 16,
|
| - // Password is used for sign-in because pairing data is changed for a "new"
|
| - // Chromebook (where there was no previous pairing data)..
|
| - PASSWORD_SIGN_IN_PAIRING_ADDED = 17,
|
| - // Password is used for sign-in because there is no screenlock state handler.
|
| - // Most likely because EasyUnlock is disabled, e.g. Bluetooth adapter not
|
| - // ready.
|
| - PASSWORD_SIGN_IN_NO_SCREENLOCK_STATE_HANDLER = 18,
|
| - // Password is used for sign-in because the phone is (a) locked, and (b) not
|
| - // right next to the Chromebook.
|
| - PASSWORD_SIGN_IN_PHONE_LOCKED_AND_TX_POWER_TOO_HIGH = 19,
|
| -
|
| - EASY_SIGN_IN_LOGIN_EVENT_COUNT // Must be the last.
|
| -};
|
| -
|
| -void RecordEasyUnlockLoginEvent(EasyUnlockLoginEvent event);
|
| -
|
| -} // namespace chromeos
|
| -
|
| -#endif // CHROME_BROWSER_CHROMEOS_LOGIN_EASY_UNLOCK_EASY_UNLOCK_METRICS_H_
|
|
|