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

Unified Diff: components/signin/core/browser/signin_metrics.h

Issue 813133003: New Profile metric for Auth Errors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ChromeSigninClient handles no ProfileManager for tests Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
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
index d4e2f2fa93ea33bfea0042f911024de5c547c0f6..0c5e10fdd506fc2eefd702ea62723f23d3264777 100644
--- a/components/signin/core/browser/signin_metrics.h
+++ b/components/signin/core/browser/signin_metrics.h
@@ -7,6 +7,8 @@
#include "base/time/time.h"
+#include "google_apis/gaia/google_service_auth_error.h"
+
namespace signin_metrics {
// Enum for the ways in which primary account detection is done.
@@ -164,6 +166,9 @@ void LogExternalCcResultFetches(
bool fetches_completed,
const base::TimeDelta& time_to_check_connections);
+// Track when the current authentication error changed.
+void LogAuthError(GoogleServiceAuthError::State auth_error);
+
} // namespace signin_metrics
#endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_METRICS_H_
« no previous file with comments | « components/signin/core/browser/signin_error_controller.cc ('k') | components/signin/core/browser/signin_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698