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

Unified Diff: components/signin/core/browser/signin_error_controller.cc

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
« no previous file with comments | « chrome/test/base/testing_profile_manager.cc ('k') | components/signin/core/browser/signin_metrics.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/signin/core/browser/signin_error_controller.cc
diff --git a/components/signin/core/browser/signin_error_controller.cc b/components/signin/core/browser/signin_error_controller.cc
index eb680105d10cb8a2674404d1a71b543ac518a3aa..2d35e85209672d342f4ebf38da09d7f801588ffb 100644
--- a/components/signin/core/browser/signin_error_controller.cc
+++ b/components/signin/core/browser/signin_error_controller.cc
@@ -4,6 +4,8 @@
#include "components/signin/core/browser/signin_error_controller.h"
+#include "components/signin/core/browser/signin_metrics.h"
+
namespace {
typedef std::set<const SigninErrorController::AuthStatusProvider*>
@@ -92,6 +94,7 @@ void SigninErrorController::AuthStatusChanged() {
}
if (error_changed) {
+ signin_metrics::LogAuthError(auth_error_.state());
FOR_EACH_OBSERVER(Observer, observer_list_, OnErrorChanged());
}
}
« no previous file with comments | « chrome/test/base/testing_profile_manager.cc ('k') | components/signin/core/browser/signin_metrics.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698