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

Unified Diff: chrome/browser/extensions/api/proxy/proxy_api.cc

Issue 9590002: JSONWriter cleanup: integrate pretty print into write options. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge conflict 7. Created 8 years, 9 months 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/extensions/api/proxy/proxy_api.cc
diff --git a/chrome/browser/extensions/api/proxy/proxy_api.cc b/chrome/browser/extensions/api/proxy/proxy_api.cc
index 79bbc2e34e7c73bb88d44fce260b05372c50f0f2..d058bc235964b3530c536fb862b14cfa7c7422c0 100644
--- a/chrome/browser/extensions/api/proxy/proxy_api.cc
+++ b/chrome/browser/extensions/api/proxy/proxy_api.cc
@@ -45,7 +45,7 @@ void ProxyEventRouter::OnProxyError(
args.Append(dict);
std::string json_args;
- base::JSONWriter::Write(&args, false, &json_args);
+ base::JSONWriter::Write(&args, &json_args);
if (profile) {
event_router->DispatchEventToRenderers(
@@ -77,7 +77,7 @@ void ProxyEventRouter::OnPACScriptError(
args.Append(dict);
std::string json_args;
- base::JSONWriter::Write(&args, false, &json_args);
+ base::JSONWriter::Write(&args, &json_args);
if (profile) {
event_router->DispatchEventToRenderers(

Powered by Google App Engine
This is Rietveld 408576698