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

Unified Diff: chrome/browser/signin/easy_unlock_metrics.h

Issue 887093004: [Cleanup] Move the Easy Unlock metrics files out of the chromeos directory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/signin/easy_unlock_metrics.h
diff --git a/chrome/browser/chromeos/login/easy_unlock/easy_unlock_metrics.h b/chrome/browser/signin/easy_unlock_metrics.h
similarity index 88%
rename from chrome/browser/chromeos/login/easy_unlock/easy_unlock_metrics.h
rename to chrome/browser/signin/easy_unlock_metrics.h
index b1779169f92aac1703b4b59c5a542a1fed5ee582..f1f1a3d5130b7b744824e42353c4f2bc0caec556 100644
--- a/chrome/browser/chromeos/login/easy_unlock/easy_unlock_metrics.h
+++ b/chrome/browser/signin/easy_unlock_metrics.h
@@ -2,10 +2,8 @@
// 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 {
+#ifndef CHROME_BROWSER_SIGNIN_EASY_UNLOCK_METRICS_H_
+#define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_METRICS_H_
// Tracking login events for Easy unlock metrics.
// This enum is used to define the buckets for an enumerated UMA histogram.
@@ -43,7 +41,7 @@ enum EasyUnlockLoginEvent {
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
+ // Password is used for sign-in because user types in password. 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
@@ -62,11 +60,9 @@ enum EasyUnlockLoginEvent {
// 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.
+ EASY_SIGN_IN_LOGIN_EVENT_COUNT // Must be the last entry.
};
void RecordEasyUnlockLoginEvent(EasyUnlockLoginEvent event);
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_EASY_UNLOCK_EASY_UNLOCK_METRICS_H_
+#endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_METRICS_H_
« no previous file with comments | « chrome/browser/chromeos/login/easy_unlock/easy_unlock_metrics.cc ('k') | chrome/browser/signin/easy_unlock_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698