Index: chrome/browser/supervised_user/child_accounts/child_account_service.h |
diff --git a/chrome/browser/supervised_user/child_accounts/child_account_service.h b/chrome/browser/supervised_user/child_accounts/child_account_service.h |
index 11c713ae2bd4da69e5e66ce855903417dd138a2f..3eed1044c1ede73c0ac31a15b2a1089d9514743e 100644 |
--- a/chrome/browser/supervised_user/child_accounts/child_account_service.h |
+++ b/chrome/browser/supervised_user/child_accounts/child_account_service.h |
@@ -35,6 +35,11 @@ class ChildAccountService : public KeyedService, |
void Init(); |
+ // Sets whether the signed-in account is a child account. |
+ // Public so it can be called on platforms where child account detection |
+ // happens outside of this class (like Android). |
+ void SetIsChildAccount(bool is_child_account); |
+ |
// KeyedService: |
virtual void Shutdown() override; |
@@ -67,8 +72,6 @@ class ChildAccountService : public KeyedService, |
void OnFlagsFetched(AccountServiceFlagFetcher::ResultCode, |
const std::vector<std::string>& flags); |
- void SetIsChildAccount(bool is_child_account); |
- |
void PropagateChildStatusToUser(bool is_child); |
void SetFirstCustodianPrefs(const FamilyInfoFetcher::FamilyMember& custodian); |