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

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

Issue 813133003: New Profile metric for Auth Errors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android and Windows compiler errors 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_info_cache.h
diff --git a/chrome/browser/profiles/profile_info_cache.h b/chrome/browser/profiles/profile_info_cache.h
index d38fca1d17875d29ee5d570dcdfb9cad012e0f1b..d2bd228ece51c6dcc2a27baaffb3eab8bca307e4 100644
--- a/chrome/browser/profiles/profile_info_cache.h
+++ b/chrome/browser/profiles/profile_info_cache.h
@@ -17,6 +17,7 @@
#include "base/strings/string16.h"
#include "chrome/browser/profiles/profile_info_cache_observer.h"
#include "chrome/browser/profiles/profile_info_interface.h"
+#include "google_apis/gaia/google_service_auth_error.h"
namespace gfx {
class Image;
@@ -85,6 +86,7 @@ class ProfileInfoCache : public ProfileInfoInterface,
bool ProfileIsEphemeralAtIndex(size_t index) const override;
bool ProfileIsUsingDefaultNameAtIndex(size_t index) const override;
bool ProfileIsUsingDefaultAvatarAtIndex(size_t index) const override;
+ GoogleServiceAuthError::State ProfileAuthErrorAtIndex(size_t index) const;
noms (inactive) 2014/12/19 19:33:01 I think this should be GetProfileAuthErrorAtIndex
Mike Lerman 2014/12/19 19:53:18 Done.
size_t GetAvatarIconIndexOfProfileAtIndex(size_t index) const;
@@ -113,6 +115,8 @@ class ProfileInfoCache : public ProfileInfoInterface,
void SetProfileIsEphemeralAtIndex(size_t index, bool value);
void SetProfileIsUsingDefaultNameAtIndex(size_t index, bool value);
void SetProfileIsUsingDefaultAvatarAtIndex(size_t index, bool value);
+ void SetProfileAuthErrorAtIndex(size_t index,
+ GoogleServiceAuthError::State value);
// Determines whether |name| is one of the default assigned names.
bool IsDefaultProfileName(const base::string16& name) const;
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_info_cache.cc » ('j') | chrome/browser/profiles/profile_info_cache.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698