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

Side by Side Diff: components/signin/core/browser/signin_metrics.h

Issue 270673003: UMA metrics - number of accounts per profile and account reconciler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile error, out-of-order parameter Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW
« no previous file with comments | « components/signin/core/browser/account_reconcilor.cc ('k') | components/signin/core/browser/signin_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698