| Index: components/signin/core/browser/signin_metrics.cc
|
| diff --git a/components/signin/core/browser/signin_metrics.cc b/components/signin/core/browser/signin_metrics.cc
|
| index df00507025980ce55b3c90c3101cf73f74f712e0..ad78b6404977631793d0f7c46392db94c5041577 100644
|
| --- a/components/signin/core/browser/signin_metrics.cc
|
| +++ b/components/signin/core/browser/signin_metrics.cc
|
| @@ -51,6 +51,17 @@ void LogSigninAccountReconciliation(int total_number_accounts,
|
| }
|
| }
|
|
|
| +void LogSigninProfile(bool is_first_run, base::Time install_date) {
|
| + // Track whether or not the user signed in during the first run of Chrome.
|
| + UMA_HISTOGRAM_BOOLEAN("Signin.DuringFirstRun", is_first_run);
|
| +
|
| + // Determine how much time passed since install when this profile was signed
|
| + // in.
|
| + base::TimeDelta elapsed_time = base::Time::Now() - install_date;
|
| + UMA_HISTOGRAM_COUNTS("Signin.ElapsedTimeFromInstallToSignin",
|
| + elapsed_time.InMinutes());
|
| +}
|
| +
|
| void LogSigninAddAccount() {
|
| // Account signin may fail for a wide variety of reasons. There is no
|
| // explicit false, but one can compare this value with the various UI
|
|
|