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

Unified Diff: chrome/browser/profiles/profile_metrics.h

Issue 813133003: New Profile metric for Auth Errors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pre-review cleanup Created 6 years 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: chrome/browser/profiles/profile_metrics.h
diff --git a/chrome/browser/profiles/profile_metrics.h b/chrome/browser/profiles/profile_metrics.h
index 1361dcdf1c3e8d66fce6a831dafe2fae0a259f4c..a86eef9d5c78fef3b7d841de3f1a02280029d891 100644
--- a/chrome/browser/profiles/profile_metrics.h
+++ b/chrome/browser/profiles/profile_metrics.h
@@ -6,10 +6,12 @@
#define CHROME_BROWSER_PROFILES_PROFILE_METRICS_H_
#include <stddef.h>
+
#include <string>
#include "base/basictypes.h"
#include "chrome/browser/signin/signin_header_helper.h"
+#include "google_apis/gaia/google_service_auth_error.h"
class Profile;
class ProfileManager;
@@ -26,6 +28,7 @@ class ProfileMetrics {
size_t supervised;
size_t unused;
size_t gaia_icon;
+ size_t auth_errors[GoogleServiceAuthError::State::NUM_STATES] = {0};
ProfileCounts()
: total(0), signedin(0), supervised(0), unused(0), gaia_icon(0) {}

Powered by Google App Engine
This is Rietveld 408576698