Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4620)

Unified Diff: chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc

Issue 100823007: Stop doing unnecessary UTF-8 to UTF-16 conversions in JSONWriter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc
diff --git a/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc b/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc
index b9043e1c9406f082e69408cc9482eebcb367aac3..5fea06aed60f2812c0441da60908c52c34bdc83d 100644
--- a/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc
+++ b/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc
@@ -161,8 +161,7 @@ base::Value* NetworkConfigurationPolicyHandler::SanitizeNetworkConfig(
kPlaceholder);
base::JSONWriter::WriteWithOptions(toplevel_dict.get(),
- base::JSONWriter::OPTIONS_DO_NOT_ESCAPE |
- base::JSONWriter::OPTIONS_PRETTY_PRINT,
+ base::JSONWriter::OPTIONS_PRETTY_PRINT,
&json_string);
return base::Value::CreateStringValue(json_string);
}

Powered by Google App Engine
This is Rietveld 408576698