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

Unified Diff: components/user_manager/user_manager.h

Issue 790503002: Methods and types rename for child accounts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. 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
« no previous file with comments | « components/user_manager/user.cc ('k') | components/user_manager/user_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/user_manager/user_manager.h
diff --git a/components/user_manager/user_manager.h b/components/user_manager/user_manager.h
index 4c761fd1581bc08bb73fd20f2fb18115613cbfff..9b629d96cefe4ab3c89b1c008d44f63b1cde402b 100644
--- a/components/user_manager/user_manager.h
+++ b/components/user_manager/user_manager.h
@@ -52,8 +52,8 @@ class USER_MANAGER_EXPORT UserManager {
// on user_id hash would be accessing up-to-date value.
virtual void ActiveUserHashChanged(const std::string& hash);
- // Called when supervised status has changed.
- virtual void UserChangedSupervisedStatus(User* user);
+ // Called when child status has changed.
+ virtual void UserChangedChildStatus(User* user);
protected:
virtual ~UserSessionStateObserver();
@@ -267,8 +267,8 @@ class USER_MANAGER_EXPORT UserManager {
// Returns true if we're logged in as a user with gaia account.
virtual bool IsLoggedInAsUserWithGaiaAccount() const = 0;
- // Returns true if we're logged in as a regular supervised user.
- virtual bool IsLoggedInAsRegularSupervisedUser() const = 0;
+ // Returns true if we're logged in as a child user.
+ virtual bool IsLoggedInAsChildUser() const = 0;
// Returns true if we're logged in as a demo user.
virtual bool IsLoggedInAsDemoUser() const = 0;
@@ -279,7 +279,7 @@ class USER_MANAGER_EXPORT UserManager {
// Returns true if we're logged in as a Guest.
virtual bool IsLoggedInAsGuest() const = 0;
- // Returns true if we're logged in as a supervised user.
+ // Returns true if we're logged in as a legacy supervised user.
virtual bool IsLoggedInAsSupervisedUser() const = 0;
// Returns true if we're logged in as a kiosk app.
@@ -307,8 +307,8 @@ class USER_MANAGER_EXPORT UserManager {
virtual void NotifyLocalStateChanged() = 0;
- // Makes the supervised status change and notifies observers.
- virtual void ChangeUserSupervisedStatus(User* user, bool is_supervised) = 0;
+ // Changes the child status and notifies observers.
+ virtual void ChangeUserChildStatus(User* user, bool is_child) = 0;
// Returns true if supervised users allowed.
« no previous file with comments | « components/user_manager/user.cc ('k') | components/user_manager/user_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698