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

Unified Diff: components/user_manager/user_manager_base.h

Issue 1114543002: UMA to track the reason for re-auth (draft). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review fixes. Created 5 years, 8 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 | « components/user_manager/user_manager.h ('k') | components/user_manager/user_manager_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/user_manager/user_manager_base.h
diff --git a/components/user_manager/user_manager_base.h b/components/user_manager/user_manager_base.h
index d61f8fbd370eda7a71f74f2189569f725e9733fc..d8454efa620387eddf02c6e8fa3bc3cc7a06d9ea 100644
--- a/components/user_manager/user_manager_base.h
+++ b/components/user_manager/user_manager_base.h
@@ -123,6 +123,12 @@ class USER_MANAGER_EXPORT UserManagerBase : public UserManager {
void SetKnownUserBooleanPref(const UserID& user_id,
const std::string& path,
const bool in_value) override;
+ bool GetKnownUserIntegerPref(const UserID& user_id,
+ const std::string& path,
+ int* out_value) override;
+ void SetKnownUserIntegerPref(const UserID& user_id,
+ const std::string& path,
+ const int in_value) override;
void UpdateGaiaID(const UserID& user_id, const std::string& gaia_id) override;
bool FindGaiaID(const UserID& user_id, std::string* out_value) override;
void UpdateUsingSAML(const std::string& user_id,
@@ -131,6 +137,9 @@ class USER_MANAGER_EXPORT UserManagerBase : public UserManager {
void SetKnownUserDeviceId(const UserID& user_id,
const std::string& device_id) override;
std::string GetKnownUserDeviceId(const UserID& user_id) override;
+ void UpdateReauthReason(const std::string& user_id,
+ const int reauth_reason) override;
+ bool FindReauthReason(const std::string& user_id, int* out_value) override;
virtual void SetIsCurrentUserNew(bool is_new);
« no previous file with comments | « components/user_manager/user_manager.h ('k') | components/user_manager/user_manager_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698