Searched refs:allow_guest (Results 1 – 4 of 4) sorted by relevance
169 bool allow_guest = false; in StartGuestSessionAfterOwnershipCheck() local170 CrosSettings::Get()->GetBoolean(kAccountsPrefAllowGuest, &allow_guest); in StartGuestSessionAfterOwnershipCheck()171 if (allow_guest) in StartGuestSessionAfterOwnershipCheck()
54 bool allow_guest = true; in UpdateAuthParams() local55 cros_settings->GetBoolean(kAccountsPrefAllowGuest, &allow_guest); in UpdateAuthParams()57 params->SetBoolean("createAccount", allow_new_user && allow_guest); in UpdateAuthParams()58 params->SetBoolean("guestSignin", allow_guest); in UpdateAuthParams()
1527 bool allow_guest; in IsGuestSigninAllowed() local1528 cros_settings->GetBoolean(kAccountsPrefAllowGuest, &allow_guest); in IsGuestSigninAllowed()1529 return allow_guest; in IsGuestSigninAllowed()
549 bool allow_guest; in LoginAsGuest() local550 cros_settings_->GetBoolean(kAccountsPrefAllowGuest, &allow_guest); in LoginAsGuest()551 if (!allow_guest) { in LoginAsGuest()