Chromium Code Reviews| 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 5415a7608b1104083231745fc4fe0201f31fa9eb..dc676f0cdf0303316e8ee780bd7b0dacd05b90b5 100644 |
| --- a/chromeos/network/managed_network_configuration_handler_impl.cc |
| +++ b/chromeos/network/managed_network_configuration_handler_impl.cc |
| @@ -19,6 +19,7 @@ |
| #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_event_log.h" |
| #include "chromeos/network/network_policy_observer.h" |
| @@ -237,8 +238,8 @@ void ManagedNetworkConfigurationHandlerImpl::SetProperties( |
| const base::DictionaryValue& user_settings, |
| const base::Closure& callback, |
| const network_handler::ErrorCallback& error_callback) const { |
| - const NetworkState* state = |
| - network_state_handler_->GetNetworkState(service_path); |
| + const FavoriteState* state = |
| + network_state_handler_->GetFavoriteState(service_path); |
| if (!state) { |
| InvokeErrorCallback(service_path, error_callback, kUnknownServicePath); |
|
pneubeck (no reviews)
2014/05/12 13:37:07
nit: the error is not fully correct anymore. more
stevenjb
2014/05/13 01:19:00
-> 'UnknownNetwork'
|