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

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

Issue 1022233002: [Smart Lock] Add UMA metrics to measure duration of unlock. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hook into the existing PowerMonitor observer Created 5 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/signin/easy_unlock_metrics.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/easy_unlock_metrics.h
diff --git a/chrome/browser/signin/easy_unlock_metrics.h b/chrome/browser/signin/easy_unlock_metrics.h
index 44c2647350bac4a1c9b580dfcc56b72a23e48e8d..0a54adde82cf06d8b1c8cd27d42bb8445cf600ee 100644
--- a/chrome/browser/signin/easy_unlock_metrics.h
+++ b/chrome/browser/signin/easy_unlock_metrics.h
@@ -5,6 +5,10 @@
#ifndef CHROME_BROWSER_SIGNIN_EASY_UNLOCK_METRICS_H_
#define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_METRICS_H_
+namespace base {
+class TimeDelta;
+}
+
// Tracking login events for Easy unlock metrics.
// This enum is used to define the buckets for an enumerated UMA histogram.
// Hence,
@@ -69,7 +73,9 @@ enum EasyUnlockTrialRunEvent {
EASY_UNLOCK_TRIAL_RUN_EVENT_COUNT // Must be the last entry.
};
+void RecordEasyUnlockSigninDuration(const base::TimeDelta& duration);
void RecordEasyUnlockSigninEvent(EasyUnlockAuthEvent event);
+void RecordEasyUnlockScreenUnlockDuration(const base::TimeDelta& duration);
void RecordEasyUnlockScreenUnlockEvent(EasyUnlockAuthEvent event);
void RecordEasyUnlockTrialRunEvent(EasyUnlockTrialRunEvent event);
« no previous file with comments | « no previous file | chrome/browser/signin/easy_unlock_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698