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

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

Issue 1362723006: Revert of ChildAccountService[Java] delegates everything to native side. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@child
Patch Set: Created 5 years, 3 months 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 ecc91e743bb0eaa24aee5b35aa990b67115f41fd..ddd830339f48bf40c24097744681659ee4f8f238 100644
--- a/chrome/browser/supervised_user/child_accounts/child_account_service.h
+++ b/chrome/browser/supervised_user/child_accounts/child_account_service.h
@@ -46,6 +46,11 @@
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);
+
// Responds whether at least one request for child status was successful.
// And we got answer whether the profile belongs to a child account or not.
bool IsChildAccountStatusKnown();
@@ -63,9 +68,6 @@
// SupervisedUserService::Delegate implementation.
bool SetActive(bool active) override;
-
- // Sets whether the signed-in account is a child account.
- void SetIsChildAccount(bool is_child_account);
// AccountTrackerService::Observer implementation.
void OnAccountUpdated(const AccountInfo& info) override;

Powered by Google App Engine
This is Rietveld 408576698