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

Unified Diff: components/user_manager/user_manager_base.h

Issue 790503002: Methods and types rename for child accounts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: 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 58d64716c1ad5ee273973e5e2ca9605e8f94c6fc..d586f352cfe0dc6ef4116e5bc39f6d2980642676 100644
--- a/components/user_manager/user_manager_base.h
+++ b/components/user_manager/user_manager_base.h
@@ -90,7 +90,7 @@ class USER_MANAGER_EXPORT UserManagerBase : public UserManager {
virtual bool CanCurrentUserLock() const override;
virtual bool IsUserLoggedIn() const override;
virtual bool IsLoggedInAsUserWithGaiaAccount() const override;
- virtual bool IsLoggedInAsRegularSupervisedUser() const override;
+ virtual bool IsLoggedInAsChildUser() const override;
virtual bool IsLoggedInAsDemoUser() const override;
virtual bool IsLoggedInAsPublicAccount() const override;
virtual bool IsLoggedInAsGuest() const override;
@@ -107,8 +107,7 @@ class USER_MANAGER_EXPORT UserManagerBase : public UserManager {
virtual void RemoveSessionStateObserver(
UserManager::UserSessionStateObserver* obs) override;
virtual void NotifyLocalStateChanged() override;
- virtual void ChangeUserSupervisedStatus(User* user, bool is_supervised)
- override;
+ virtual void ChangeUserChildStatus(User* user, bool is_child) override;
// Helper function that copies users from |users_list| to |users_vector| and
// |users_set|. Duplicates and users already present in |existing_users| are

Powered by Google App Engine
This is Rietveld 408576698