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

Unified Diff: chrome/browser/supervised_user/child_accounts/child_account_service.h

Issue 789853002: Add support for child accounts on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: x 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: 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);
« no previous file with comments | « chrome/browser/profiles/profile_manager.cc ('k') | chrome/browser/supervised_user/child_accounts/child_account_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698