Index: components/user_manager/user.cc |
diff --git a/components/user_manager/user.cc b/components/user_manager/user.cc |
index 7035096fe374448b5547ab67913f6b0ecacab11b..2fbd910e923e0957998908402ac924dec86da170 100644 |
--- a/components/user_manager/user.cc |
+++ b/components/user_manager/user.cc |
@@ -136,7 +136,10 @@ std::string User::GetUserID() const { |
void User::SetIsSupervised(bool is_supervised) { |
VLOG(1) << "Ignoring SetIsSupervised call with param " << is_supervised; |
- NOTREACHED() << "Calling SetIsSupervised for base User class."; |
+ if (is_supervised) { |
+ NOTREACHED() << "Calling SetIsSupervised(true) for base User class. " |
+ << "Base class cannot be set as supervised"; |
+ } |
} |
bool User::HasGaiaAccount() const { |