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

Unified Diff: components/signin/core/common/signin_pref_names.cc

Issue 459853002: UMA track signed in duration at signout (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: track minutes a profile was signed in before signing out Created 6 years, 4 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: components/signin/core/common/signin_pref_names.cc
diff --git a/components/signin/core/common/signin_pref_names.cc b/components/signin/core/common/signin_pref_names.cc
index c90c08bdd02e2386d311686a9091389cf6383809..b5d72275bb79fca71d2a6de3814b3b901b4705d7 100644
--- a/components/signin/core/common/signin_pref_names.cc
+++ b/components/signin/core/common/signin_pref_names.cc
@@ -43,6 +43,10 @@ const char kReverseAutologinEnabled[] = "reverse_autologin.enabled";
const char kReverseAutologinRejectedEmailList[] =
"reverse_autologin.rejected_email_list";
+// Int64 which tracks, as time from epoch, when last time the user signed in
+// to the browser.
+const char kSignedInTime[] = "signin.signedin_time";
+
// Boolean which stores if the user is allowed to signin to chrome.
const char kSigninAllowed[] = "signin.allowed";

Powered by Google App Engine
This is Rietveld 408576698