| Index: chromeos/network/managed_network_configuration_handler_impl.cc
|
| diff --git a/chromeos/network/managed_network_configuration_handler_impl.cc b/chromeos/network/managed_network_configuration_handler_impl.cc
|
| index b7495c4d0b9d9f9fac8130eb64dedb31c42c2d66..9bcf19372eb1ad47cca472d636cf8c4990ab2b56 100644
|
| --- a/chromeos/network/managed_network_configuration_handler_impl.cc
|
| +++ b/chromeos/network/managed_network_configuration_handler_impl.cc
|
| @@ -19,7 +19,6 @@
|
| #include "chromeos/dbus/shill_profile_client.h"
|
| #include "chromeos/dbus/shill_service_client.h"
|
| #include "chromeos/network/device_state.h"
|
| -#include "chromeos/network/favorite_state.h"
|
| #include "chromeos/network/network_configuration_handler.h"
|
| #include "chromeos/network/network_device_handler.h"
|
| #include "chromeos/network/network_event_log.h"
|
| @@ -242,8 +241,8 @@ void ManagedNetworkConfigurationHandlerImpl::SetProperties(
|
| const base::DictionaryValue& user_settings,
|
| const base::Closure& callback,
|
| const network_handler::ErrorCallback& error_callback) const {
|
| - const FavoriteState* state =
|
| - network_state_handler_->GetFavoriteStateFromServicePath(
|
| + const NetworkState* state =
|
| + network_state_handler_->GetNetworkStateFromServicePath(
|
| service_path, true /* configured_only */);
|
| if (!state) {
|
| InvokeErrorCallback(service_path, error_callback, kUnknownNetwork);
|
| @@ -507,9 +506,6 @@ void ManagedNetworkConfigurationHandlerImpl::
|
| }
|
|
|
| void ManagedNetworkConfigurationHandlerImpl::OnPoliciesApplied() {
|
| - // After all policies were applied, trigger an update of the network lists.
|
| - if (network_state_handler_)
|
| - network_state_handler_->UpdateManagerProperties();
|
| }
|
|
|
| const base::DictionaryValue*
|
|
|