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

Unified Diff: components/signin/core/browser/signin_metrics.h

Issue 466043002: Track when user signs in the profile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/browser/signin_metrics.h
diff --git a/components/signin/core/browser/signin_metrics.h b/components/signin/core/browser/signin_metrics.h
index cee56a26d8b10ce22ab53e48e829a200723d75fd..62dacd291f1c31c4ff65e22fd029411288cfcba0 100644
--- a/components/signin/core/browser/signin_metrics.h
+++ b/components/signin/core/browser/signin_metrics.h
@@ -5,6 +5,8 @@
#ifndef COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_METRICS_H_
#define COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_METRICS_H_
+#include "base/time/time.h"
+
namespace signin_metrics {
// Enum for the ways in which primary account detection is done.
@@ -70,6 +72,9 @@ void LogSigninAccountReconciliation(int total_number_accounts,
// Track a successful signin.
void LogSigninAddAccount();
+// Track a successful signin of a profile.
+void LogSigninProfile(bool is_first_run, base::Time install_date);
+
// Track a profile signout.
void LogSignout(ProfileSignout metric);

Powered by Google App Engine
This is Rietveld 408576698