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, LoggedInUserType type) {
79 LoginState::LoggedInUserType LoginState::GetLoggedInUserType() const {
83 bool LoginState::IsUserLoggedIn() const {
89 bool LoginState::IsInSafeMode() const {
94 bool LoginState::IsGuestSessionUser() const {
98 bool LoginState::IsPublicSessionUser() const {
103 bool LoginState::IsKioskApp() const {
107 bool LoginState::UserHasNetworkProfile() const {
113 bool LoginState::IsUserAuthenticated() const {
119 bool LoginState::IsUserGaiaAuthenticated() const {
126 LoginState::LoginState() : logged_in_state_(LOGGED_IN_NONE),
131 LoginState::~LoginState() {
134 void LoginState::NotifyObservers() {
135 FOR_EACH_OBSERVER(LoginState::Observer, observer_list_,