OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:LoginState
(Results
1 - 25
of
44
) sorted by null
1
2
/external/chromium_org/chromeos/login/
login_state_unittest.cc
19
public
LoginState
::Observer {
21
LoginStateTest() : logged_in_user_type_(
LoginState
::LOGGED_IN_USER_NONE),
29
LoginState
::Initialize();
30
LoginState
::Get()->set_always_logged_in(false);
31
LoginState
::Get()->AddObserver(this);
35
LoginState
::Get()->RemoveObserver(this);
36
LoginState
::Shutdown();
39
//
LoginState
::Observer
42
logged_in_user_type_ =
LoginState
::Get()->GetLoggedInUserType();
54
LoginState
::LoggedInUserType logged_in_user_type_
[
all
...]
login_state.cc
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)
[
all
...]
login_state.h
15
class CHROMEOS_EXPORT
LoginState
{
47
static
LoginState
* Get();
99
LoginState
();
100
virtual ~
LoginState
();
114
DISALLOW_COPY_AND_ASSIGN(
LoginState
);
/external/chromium_org/chrome/browser/chromeos/profiles/
profile_util.cc
15
if (!chromeos::
LoginState
::IsInitialized())
17
if (!chromeos::
LoginState
::Get()->IsUserGaiaAuthenticated())
/external/chromium_org/chrome/browser/notifications/
login_state_notification_blocker_chromeos_unittest.cc
24
chromeos::
LoginState
::Initialize();
25
chromeos::
LoginState
::Get()->set_always_logged_in(false);
36
chromeos::
LoginState
::Shutdown();
70
chromeos::
LoginState
::Get()->SetLoggedInState(
71
chromeos::
LoginState
::LOGGED_IN_NONE,
72
chromeos::
LoginState
::LOGGED_IN_USER_NONE);
77
chromeos::
LoginState
::Get()->SetLoggedInState(
78
chromeos::
LoginState
::LOGGED_IN_ACTIVE,
79
chromeos::
LoginState
::LOGGED_IN_USER_REGULAR);
104
chromeos::
LoginState
::Get()->SetLoggedInState
[
all
...]
login_state_notification_blocker_chromeos.cc
26
//
LoginState
may not exist in some tests.
27
if (chromeos::
LoginState
::IsInitialized())
28
chromeos::
LoginState
::Get()->AddObserver(this);
36
if (chromeos::
LoginState
::IsInitialized())
37
chromeos::
LoginState
::Get()->RemoveObserver(this);
56
if (chromeos::
LoginState
::IsInitialized())
57
return chromeos::
LoginState
::Get()->IsUserLoggedIn();
login_state_notification_blocker_chromeos.h
23
public chromeos::
LoginState
::Observer,
39
// chromeos::
LoginState
::Observer overrides:
login_state_notification_blocker_chromeos_browsertest.cc
34
chromeos::
LoginState
::Get()->set_always_logged_in(false);
/external/chromium_org/chrome/browser/chromeos/background/
ash_user_wallpaper_delegate.cc
28
if (chromeos::
LoginState
::Get()->IsUserLoggedIn() ||
94
const
LoginState
* login_state =
LoginState
::Get();
95
const
LoginState
::LoggedInUserType user_type =
102
if (user_type !=
LoginState
::LOGGED_IN_USER_REGULAR &&
103
user_type !=
LoginState
::LOGGED_IN_USER_OWNER &&
104
user_type !=
LoginState
::LOGGED_IN_USER_PUBLIC_ACCOUNT &&
105
user_type !=
LoginState
::LOGGED_IN_USER_LOCALLY_MANAGED) {
/external/chromium_org/ash/system/chromeos/network/
network_state_notifier_unittest.cc
45
chromeos::
LoginState
::Initialize();
54
chromeos::
LoginState
::Shutdown();
/external/chromium_org/chromeos/
tpm_token_loader.cc
99
if (!initialized_for_test_ &&
LoginState
::IsInitialized())
100
LoginState
::Get()->AddObserver(this);
115
if (!initialized_for_test_ &&
LoginState
::IsInitialized())
116
LoginState
::Get()->RemoveObserver(this);
140
if (!
LoginState
::IsInitialized())
143
bool start_initialization =
LoginState
::Get()->IsUserLoggedIn() ||
144
LoginState
::Get()->IsInSafeMode();
154
if (
LoginState
::Get()->IsGuestUser())
tpm_token_loader.h
31
class CHROMEOS_EXPORT TPMTokenLoader : public
LoginState
::Observer {
44
// The global instance will immediately start observing |
LoginState
|.
102
//
LoginState
::Observer
/external/chromium_org/chrome/browser/ui/ash/
screenshot_taker_unittest.cc
101
// Note that within the test framework the
LoginState
object will always
103
ASSERT_FALSE(chromeos::
LoginState
::IsInitialized());
104
chromeos::
LoginState
::Initialize();
141
chromeos::
LoginState
::Shutdown();
session_state_delegate_chromeos.cc
31
//
LoginState
is not initialized in unit_tests.
32
if (chromeos::
LoginState
::IsInitialized()) {
33
chromeos::
LoginState
::Get()->AddObserver(this);
34
SetSessionState(chromeos::
LoginState
::Get()->IsUserLoggedIn() ?
43
//
LoginState
is not initialized in unit_tests.
44
if (chromeos::
LoginState
::IsInitialized())
45
chromeos::
LoginState
::Get()->RemoveObserver(this);
218
SetSessionState(chromeos::
LoginState
::Get()->IsUserLoggedIn() ?
session_state_delegate_chromeos.h
22
public chromeos::
LoginState
::Observer,
56
// chromeos::
LoginState
::Observer overrides.
ash_init.cc
59
if (!chromeos::
LoginState
::Get()->IsUserLoggedIn())
system_tray_delegate_chromeos.cc
298
if (
LoginState
::IsInitialized())
299
LoginState
::Get()->AddObserver(this);
359
LoginState
::Get()->RemoveObserver(this);
381
return
LoginState
::Get()->IsUserLoggedIn();
387
if (!
LoginState
::Get()->IsUserLoggedIn())
393
LoginState
::LoggedInUserType user_type =
394
LoginState
::Get()->GetLoggedInUserType();
396
case
LoginState
::LOGGED_IN_USER_NONE:
398
case
LoginState
::LOGGED_IN_USER_REGULAR:
400
case
LoginState
::LOGGED_IN_USER_OWNER
[
all
...]
/external/chromium_org/chrome/browser/metrics/
perf_provider_chromeos.h
39
class LoginObserver : public chromeos::
LoginState
::Observer {
perf_provider_chromeos.cc
70
chromeos::
LoginState
* login_state = chromeos::
LoginState
::Get();
113
// Register the login observer with
LoginState
.
114
chromeos::
LoginState
::Get()->AddObserver(&login_observer_);
129
chromeos::
LoginState
::Get()->RemoveObserver(&login_observer_);
chromeos_metrics_provider_unittest.cc
89
if (!chromeos::
LoginState
::IsInitialized())
90
chromeos::
LoginState
::Initialize();
95
chromeos::
LoginState
::Shutdown();
/external/chromium_org/chrome/browser/chromeos/settings/
system_settings_provider.cc
33
if (
LoginState
::Get()->IsGuestUser())
/external/chromium_org/chromeos/network/
network_connection_handler.cc
91
(
LoginState
::IsInitialized() &&
92
!
LoginState
::Get()->UserHasNetworkProfile()) ||
165
if (
LoginState
::IsInitialized())
166
LoginState
::Get()->RemoveObserver(this);
173
if (
LoginState
::IsInitialized())
174
LoginState
::Get()->AddObserver(this);
203
if (
LoginState
::IsInitialized())
208
LoginState
* login_state =
LoginState
::Get();
798
if (applied_autoconnect_policy_ || !
LoginState
::Get()->IsUserLoggedIn()
[
all
...]
network_connection_handler_unittest.cc
97
LoginState
::Initialize();
128
LoginState
::Shutdown();
201
LoginState
::Get()->SetLoggedInState(
LoginState
::LOGGED_IN_ACTIVE,
202
LoginState
::LOGGED_IN_USER_REGULAR);
/external/chromium_org/chrome/browser/chromeos/extensions/
wallpaper_function_base.cc
56
CHECK(chromeos::
LoginState
::Get()->IsUserLoggedIn());
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/
internet_options_handler.h
42
public chromeos::
LoginState
::Observer,
99
// chromeos::
LoginState
::Observer
Completed in 548 milliseconds
1
2