Index: chrome/browser/policy/configuration_policy_handler.cc |
diff --git a/chrome/browser/policy/configuration_policy_handler.cc b/chrome/browser/policy/configuration_policy_handler.cc |
index 6d6203e94b3995199c253a2b31404eba092b963d..9c0c94dfec1765ab5d6c9cae8f834c7ccc6fa7dc 100644 |
--- a/chrome/browser/policy/configuration_policy_handler.cc |
+++ b/chrome/browser/policy/configuration_policy_handler.cc |
@@ -164,7 +164,10 @@ void ConfigurationPolicyHandler::PrepareForDisplaying( |
if (entry.value->GetAsDictionary(&value)) { |
std::string json_string; |
base::JSONWriter::WriteWithOptions( |
- value, true, base::JSONWriter::OPTIONS_DO_NOT_ESCAPE, &json_string); |
+ value, |
+ base::JSONWriter::OPTIONS_DO_NOT_ESCAPE | |
+ base::JSONWriter::OPTIONS_PRETTY_PRINT, |
+ &json_string); |
StringValue* string_value = Value::CreateStringValue(json_string); |
policies->Set(it->first, entry.level, entry.scope, string_value); |
} |