| Index: chromeos/network/network_connection_handler.cc
|
| diff --git a/chromeos/network/network_connection_handler.cc b/chromeos/network/network_connection_handler.cc
|
| index dfcba54c2f219f3bc980787e23475a167308bd80..6600e56e0e16ddddecfa3f2f36cf9ab4a291f2d2 100644
|
| --- a/chromeos/network/network_connection_handler.cc
|
| +++ b/chromeos/network/network_connection_handler.cc
|
| @@ -157,8 +157,7 @@ void NetworkConnectionHandler::Init(
|
| NetworkConfigurationHandler* network_configuration_handler) {
|
| if (LoginState::IsInitialized()) {
|
| LoginState::Get()->AddObserver(this);
|
| - logged_in_ =
|
| - LoginState::Get()->GetLoggedInState() == LoginState::LOGGED_IN_ACTIVE;
|
| + logged_in_ = LoginState::Get()->IsUserLoggedIn();
|
| }
|
| if (CertLoader::IsInitialized()) {
|
| cert_loader_ = CertLoader::Get();
|
| @@ -175,9 +174,8 @@ void NetworkConnectionHandler::Init(
|
| network_configuration_handler_ = network_configuration_handler;
|
| }
|
|
|
| -void NetworkConnectionHandler::LoggedInStateChanged(
|
| - LoginState::LoggedInState state) {
|
| - if (state == LoginState::LOGGED_IN_ACTIVE) {
|
| +void NetworkConnectionHandler::LoggedInStateChanged() {
|
| + if (LoginState::Get()->IsUserLoggedIn()) {
|
| logged_in_ = true;
|
| NET_LOG_EVENT("Logged In", "");
|
| }
|
|
|