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

Unified Diff: components/user_manager/user.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.h
diff --git a/components/user_manager/user.h b/components/user_manager/user.h
index 907c365af991b5e6357e6b80c6f4d84128314dbe..7e2c3f329ac8cfefad219b287ba52fe1ebca3c0a 100644
--- a/components/user_manager/user.h
+++ b/components/user_manager/user.h
@@ -94,11 +94,11 @@ class USER_MANAGER_EXPORT User : public UserInfo {
const gfx::ImageSkia& GetImage() const override;
std::string GetUserID() const override;
- // Allows managing supervised status of the user. Used for RegularUser.
- virtual void SetIsSupervised(bool is_supervised);
+ // Allows managing child status of the user. Used for RegularUser.
+ virtual void SetIsChild(bool is_child);
// Returns true if user has gaia account. True for users of types
- // USER_TYPE_REGULAR and USER_TYPE_REGULAR_SUPERVISED.
+ // USER_TYPE_REGULAR and USER_TYPE_CHILD.
virtual bool HasGaiaAccount() const;
// Returns true if user is supervised.

Powered by Google App Engine
This is Rietveld 408576698