#include "components/supervised_user/core/browser/supervised_user_capabilities.h"
#include "base/no_destructor.h"
#include "components/signin/internal/identity_manager/account_capabilities_constants.h"
#include "components/signin/public/base/consent_level.h"
#include "components/signin/public/identity_manager/account_capabilities.h"
#include "components/signin/public/identity_manager/account_info.h"
#include "components/signin/public/identity_manager/identity_manager.h"
namespace {
const std::vector<std::string>& GetSupervisedUserCapabilityNames() { … }
}
namespace supervised_user {
signin::Tribool IsPrimaryAccountSubjectToParentalControls(
signin::IdentityManager* identity_manager) { … }
SupervisedUserCapabilitiesObserver::SupervisedUserCapabilitiesObserver(
signin::IdentityManager* identity_manager)
: … { … }
SupervisedUserCapabilitiesObserver::~SupervisedUserCapabilitiesObserver() { … }
void SupervisedUserCapabilitiesObserver::OnExtendedAccountInfoUpdated(
const AccountInfo& info) { … }
void SupervisedUserCapabilitiesObserver::OnPrimaryAccountChanged(
const signin::PrimaryAccountChangeEvent& event_details) { … }
void SupervisedUserCapabilitiesObserver::OnIdentityManagerShutdown(
signin::IdentityManager* identity_manager) { … }
void SupervisedUserCapabilitiesObserver::NotifyCapabilityChange(
const std::string& name,
CapabilityUpdateState capability_update_state) { … }
}