X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fcomponents%2Fsignin%2Fcore%2Fbrowser%2Fsignin_metrics.cc;h=169eb36a5a00c7bc692ad013ca820c546e06c46a;hb=refs%2Fchanges%2F66%2F28966%2F1;hp=ad78b6404977631793d0f7c46392db94c5041577;hpb=7d210d4c7e9ba36e635eabc5b5780495f8a63292;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/components/signin/core/browser/signin_metrics.cc b/src/components/signin/core/browser/signin_metrics.cc index ad78b64..169eb36 100644 --- a/src/components/signin/core/browser/signin_metrics.cc +++ b/src/components/signin/core/browser/signin_metrics.cc @@ -22,19 +22,19 @@ DifferentPrimaryAccounts ComparePrimaryAccounts(bool primary_accounts_same, void LogSigninAccountReconciliation(int total_number_accounts, int count_added_to_cookie_jar, - int count_added_to_token, + int count_removed_from_cookie_jar, bool primary_accounts_same, bool is_first_reconcile, int pre_count_gaia_cookies) { UMA_HISTOGRAM_COUNTS_100("Profile.NumberOfAccountsPerProfile", total_number_accounts); - // We want to include zeroes in the counts of added accounts to easily - // capture _relatively_ how often we merge accounts. + // We want to include zeroes in the counts of added or removed accounts to + // easily capture _relatively_ how often we merge accounts. if (is_first_reconcile) { UMA_HISTOGRAM_COUNTS_100("Signin.Reconciler.AddedToCookieJar.FirstRun", count_added_to_cookie_jar); - UMA_HISTOGRAM_COUNTS_100("Signin.Reconciler.AddedToChrome.FirstRun", - count_added_to_token); + UMA_HISTOGRAM_COUNTS_100("Signin.Reconciler.RemovedFromCookieJar.FirstRun", + count_removed_from_cookie_jar); UMA_HISTOGRAM_ENUMERATION( "Signin.Reconciler.DifferentPrimaryAccounts.FirstRun", ComparePrimaryAccounts(primary_accounts_same, pre_count_gaia_cookies), @@ -42,8 +42,9 @@ void LogSigninAccountReconciliation(int total_number_accounts, } else { UMA_HISTOGRAM_COUNTS_100("Signin.Reconciler.AddedToCookieJar.SubsequentRun", count_added_to_cookie_jar); - UMA_HISTOGRAM_COUNTS_100("Signin.Reconciler.AddedToChrome.SubsequentRun", - count_added_to_token); + UMA_HISTOGRAM_COUNTS_100( + "Signin.Reconciler.RemovedFromCookieJar.SubsequentRun", + count_removed_from_cookie_jar); UMA_HISTOGRAM_ENUMERATION( "Signin.Reconciler.DifferentPrimaryAccounts.SubsequentRun", ComparePrimaryAccounts(primary_accounts_same, pre_count_gaia_cookies),