Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1038)

Side by Side Diff: chrome/browser/chromeos/login/easy_unlock/easy_unlock_metrics.h

Issue 868133005: [Smart Lock] Add error message strings for the "Tx Power too high" case. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_EASY_UNLOCK_EASY_UNLOCK_METRICS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_EASY_UNLOCK_EASY_UNLOCK_METRICS_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EASY_UNLOCK_EASY_UNLOCK_METRICS_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EASY_UNLOCK_EASY_UNLOCK_METRICS_H_
7 7
8 namespace chromeos { 8 namespace chromeos {
9 9
10 // Tracking login events for Easy unlock metrics. 10 // Tracking login events for Easy unlock metrics.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 PASSWORD_SIGN_IN_TX_POWER_TOO_HIGH = 15, 51 PASSWORD_SIGN_IN_TX_POWER_TOO_HIGH = 15,
52 // Password is used for sign-in because Easy sign-in failed. 52 // Password is used for sign-in because Easy sign-in failed.
53 PASSWORD_SIGN_IN_LOGIN_FAILED = 16, 53 PASSWORD_SIGN_IN_LOGIN_FAILED = 16,
54 // Password is used for sign-in because pairing data is changed for a "new" 54 // Password is used for sign-in because pairing data is changed for a "new"
55 // Chromebook (where there was no previous pairing data).. 55 // Chromebook (where there was no previous pairing data)..
56 PASSWORD_SIGN_IN_PAIRING_ADDED = 17, 56 PASSWORD_SIGN_IN_PAIRING_ADDED = 17,
57 // Password is used for sign-in because there is no screenlock state handler. 57 // Password is used for sign-in because there is no screenlock state handler.
58 // Most likely because EasyUnlock is disabled, e.g. Bluetooth adapter not 58 // Most likely because EasyUnlock is disabled, e.g. Bluetooth adapter not
59 // ready. 59 // ready.
60 PASSWORD_SIGN_IN_NO_SCREENLOCK_STATE_HANDLER = 18, 60 PASSWORD_SIGN_IN_NO_SCREENLOCK_STATE_HANDLER = 18,
61 // Password is used for sign-in because the phone is (a) locked, and (b) not
62 // right next to the Chromebook.
63 PASSWORD_SIGN_IN_PHONE_LOCKED_AND_TX_POWER_TOO_HIGH = 19,
61 64
62 EASY_SIGN_IN_LOGIN_EVENT_COUNT // Must be the last. 65 EASY_SIGN_IN_LOGIN_EVENT_COUNT // Must be the last.
63 }; 66 };
64 67
65 void RecordEasyUnlockLoginEvent(EasyUnlockLoginEvent event); 68 void RecordEasyUnlockLoginEvent(EasyUnlockLoginEvent event);
66 69
67 } // namespace chromeos 70 } // namespace chromeos
68 71
69 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EASY_UNLOCK_EASY_UNLOCK_METRICS_H_ 72 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EASY_UNLOCK_EASY_UNLOCK_METRICS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698