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 |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5c85d239a73c4ca3addbf3cdee6d10addbe1c300 |
--- /dev/null |
+++ b/components/signin/core/browser/signin_metrics.h |
@@ -0,0 +1,30 @@ |
+// Copyright (c) 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_METRICS_H_ |
+#define COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_METRICS_H_ |
+ |
+namespace signin_metrics { |
+ |
+// Log to UMA histograms and UserCounts stats about a single execution of the |
+// AccountReconciler. |
+// |total_number_accounts| - How many accounts are in the browser for this |
+// profile. |
+// |count_added_to_cookie_jar| - How many accounts were in the browser but not |
+// the cookie jar. |
+// |count_added_to_token| - How may accounts were in the cookie jar but not in |
+// the browser. |
+// |primary_accounts_same| - False if the primary account for the cookie jar |
+// and the token service were different; else true. |
+// |is_first_reconcile| - True if these stats are from the first execution of |
+// the AccountReconcilor. |
+void LogSigninAccountReconciliation(int total_number_accounts, |
+ int count_added_to_cookie_jar, |
+ int count_added_to_token, |
+ bool primary_accounts_same, |
+ bool is_first_reconcile); |
+ |
+} // namespace signin_metrics |
+ |
+#endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_METRICS_H_ |