Lines Matching refs:LoginState
26 static LoginState* g_login_state = NULL;
29 void LoginState::Initialize() {
31 g_login_state = new LoginState();
35 void LoginState::Shutdown() {
42 LoginState* LoginState::Get() {
43 CHECK(g_login_state) << "LoginState::Get() called before Initialize()";
48 bool LoginState::IsInitialized() {
52 void LoginState::AddObserver(Observer* observer) {
56 void LoginState::RemoveObserver(Observer* observer) {
60 void LoginState::SetLoggedInStateAndPrimaryUser(
70 void LoginState::SetLoggedInState(LoggedInState state,
80 LoginState::LoggedInUserType LoginState::GetLoggedInUserType() const {
84 bool LoginState::IsUserLoggedIn() const {
90 bool LoginState::IsInSafeMode() const {
95 bool LoginState::IsGuestUser() const {
114 bool LoginState::IsKioskApp() const {
115 return logged_in_user_type_ == LoginState::LOGGED_IN_USER_KIOSK_APP;
118 bool LoginState::UserHasNetworkProfile() const {
125 bool LoginState::IsUserAuthenticated() const {
131 bool LoginState::IsUserGaiaAuthenticated() const {
138 LoginState::LoginState() : logged_in_state_(LOGGED_IN_OOBE),
143 LoginState::~LoginState() {
146 void LoginState::NotifyObservers() {
147 FOR_EACH_OBSERVER(LoginState::Observer, observer_list_,