| Index: chrome/browser/chromeos/proxy_config_service_impl.cc
|
| diff --git a/chrome/browser/chromeos/proxy_config_service_impl.cc b/chrome/browser/chromeos/proxy_config_service_impl.cc
|
| index 9500394cc0018b10c4106eaf99d7986798bdeb9d..8c8eb6ab5499229ae10ce614de44c486cfe84fcd 100644
|
| --- a/chrome/browser/chromeos/proxy_config_service_impl.cc
|
| +++ b/chrome/browser/chromeos/proxy_config_service_impl.cc
|
| @@ -656,16 +656,19 @@ net::ProxyConfigService::ConfigAvailability
|
|
|
| void ProxyConfigServiceImpl::OnSettingsOpCompleted(
|
| SignedSettings::ReturnCode code,
|
| - std::string value) {
|
| + const base::Value& value) {
|
| retrieve_property_op_ = NULL;
|
| if (code != SignedSettings::SUCCESS) {
|
| LOG(WARNING) << "Error retrieving proxy setting from device";
|
| device_config_.clear();
|
| return;
|
| }
|
| - VLOG(1) << "Retrieved proxy setting from device, value=[" << value << "]";
|
| + std::string policy_value;
|
| + value.GetAsString(&policy_value);
|
| + VLOG(1) << "Retrieved proxy setting from device, value=["
|
| + << policy_value << "]";
|
| ProxyConfig device_config;
|
| - if (!device_config.DeserializeForDevice(value) ||
|
| + if (!device_config.DeserializeForDevice(policy_value) ||
|
| !device_config.SerializeForNetwork(&device_config_)) {
|
| LOG(WARNING) << "Can't deserialize device setting or serialize for network";
|
| device_config_.clear();
|
|
|