OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_METRICS_H_ |
| 6 #define COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_METRICS_H_ |
| 7 |
| 8 namespace signin_metrics { |
| 9 |
| 10 // Log to UMA histograms and UserCounts stats about a single execution of the |
| 11 // AccountReconciler. |
| 12 // |total_number_accounts| - How many accounts are in the browser for this |
| 13 // profile. |
| 14 // |count_added_to_cookie_jar| - How many accounts were in the browser but not |
| 15 // the cookie jar. |
| 16 // |count_added_to_token| - How may accounts were in the cookie jar but not in |
| 17 // the browser. |
| 18 // |primary_accounts_same| - False if the primary account for the cookie jar |
| 19 // and the token service were different; else true. |
| 20 // |is_first_reconcile| - True if these stats are from the first execution of |
| 21 // the AccountReconcilor. |
| 22 void LogSigninAccountReconciliation(int total_number_accounts, |
| 23 int count_added_to_cookie_jar, |
| 24 int count_added_to_token, |
| 25 bool primary_accounts_same, |
| 26 bool is_first_reconcile); |
| 27 |
| 28 } // namespace signin_metrics |
| 29 |
| 30 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_METRICS_H_ |
OLD | NEW |