| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_METRICS_H_ | 5 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_METRICS_H_ |
| 6 #define COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_METRICS_H_ | 6 #define COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_METRICS_H_ |
| 7 | 7 |
| 8 #include "base/time/time.h" | 8 #include "base/time/time.h" |
| 9 | 9 |
| 10 #include "google_apis/gaia/google_service_auth_error.h" | 10 #include "google_apis/gaia/google_service_auth_error.h" |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 // Tracks whether the external connection results were all fetched before | 162 // Tracks whether the external connection results were all fetched before |
| 163 // the reconcilor tried to use them with MergeSession. | 163 // the reconcilor tried to use them with MergeSession. |
| 164 // |time_to_check_connections| is the time it took to complete. | 164 // |time_to_check_connections| is the time it took to complete. |
| 165 void LogExternalCcResultFetches( | 165 void LogExternalCcResultFetches( |
| 166 bool fetches_completed, | 166 bool fetches_completed, |
| 167 const base::TimeDelta& time_to_check_connections); | 167 const base::TimeDelta& time_to_check_connections); |
| 168 | 168 |
| 169 // Track when the current authentication error changed. | 169 // Track when the current authentication error changed. |
| 170 void LogAuthError(GoogleServiceAuthError::State auth_error); | 170 void LogAuthError(GoogleServiceAuthError::State auth_error); |
| 171 | 171 |
| 172 void LogSigninConfirmHistogramValue(int action); |
| 173 |
| 172 } // namespace signin_metrics | 174 } // namespace signin_metrics |
| 173 | 175 |
| 174 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_METRICS_H_ | 176 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_METRICS_H_ |
| OLD | NEW |