| Index: chrome/browser/policy/network_prediction_policy_handler.cc
|
| diff --git a/chrome/browser/policy/network_prediction_policy_handler.cc b/chrome/browser/policy/network_prediction_policy_handler.cc
|
| index c68c9f31ccaf51ecf8728f4f9d0f679059686fd8..1a7466ed640053435346efa9c039777cda8ea63e 100644
|
| --- a/chrome/browser/policy/network_prediction_policy_handler.cc
|
| +++ b/chrome/browser/policy/network_prediction_policy_handler.cc
|
| @@ -33,16 +33,14 @@ bool NetworkPredictionPolicyHandler::CheckPolicySettings(
|
|
|
| if (network_prediction_enabled &&
|
| !network_prediction_enabled->IsType(base::Value::TYPE_BOOLEAN)) {
|
| - errors->AddError(key::kDnsPrefetchingEnabled,
|
| - IDS_POLICY_TYPE_ERROR,
|
| - ValueTypeToString(base::Value::TYPE_BOOLEAN));
|
| + errors->AddError(key::kDnsPrefetchingEnabled, IDS_POLICY_TYPE_ERROR,
|
| + base::Value::GetTypeName(base::Value::TYPE_BOOLEAN));
|
| }
|
|
|
| if (network_prediction_options &&
|
| !network_prediction_options->IsType(base::Value::TYPE_INTEGER)) {
|
| - errors->AddError(key::kNetworkPredictionOptions,
|
| - IDS_POLICY_TYPE_ERROR,
|
| - ValueTypeToString(base::Value::TYPE_INTEGER));
|
| + errors->AddError(key::kNetworkPredictionOptions, IDS_POLICY_TYPE_ERROR,
|
| + base::Value::GetTypeName(base::Value::TYPE_INTEGER));
|
| }
|
|
|
| if (network_prediction_enabled && network_prediction_options) {
|
|
|