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

Side by Side Diff: chrome/browser/signin/easy_unlock_metrics.cc

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 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 #include "chrome/browser/chromeos/login/easy_unlock/easy_unlock_metrics.h" 5 #include "chrome/browser/signin/easy_unlock_metrics.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/metrics/histogram.h" 8 #include "base/metrics/histogram_macros.h"
9
10 namespace chromeos {
11 9
12 void RecordEasyUnlockLoginEvent(EasyUnlockLoginEvent event) { 10 void RecordEasyUnlockLoginEvent(EasyUnlockLoginEvent event) {
13 DCHECK_LT(event, EASY_SIGN_IN_LOGIN_EVENT_COUNT); 11 DCHECK_LT(event, EASY_SIGN_IN_LOGIN_EVENT_COUNT);
14 12
15 UMA_HISTOGRAM_ENUMERATION("EasyUnlock.SignIn.LoginEvent", 13 UMA_HISTOGRAM_ENUMERATION("EasyUnlock.SignIn.LoginEvent",
16 event, 14 event,
17 EASY_SIGN_IN_LOGIN_EVENT_COUNT); 15 EASY_SIGN_IN_LOGIN_EVENT_COUNT);
18 } 16 }
19
20 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/signin/easy_unlock_metrics.h ('k') | chrome/browser/signin/easy_unlock_service_signin_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698