Commit 27a70a03 authored by eroman@chromium.org's avatar eroman@chromium.org

Reduce size of NetLog JSON dumps by not pretty-printing.

The resulting JSON is equivalent, but now everything is smashed into one line.

This shaves 30% off the size of the NetLog dumps.

BUG=132160


Review URL: https://chromiumcodereview.appspot.com/12226132

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182207 0039d316-1c4b-4281-b951-d872f2087c98
parent 35c55410
...@@ -71,7 +71,7 @@ log_util = (function() { ...@@ -71,7 +71,7 @@ log_util = (function() {
getTabData_(), getTabData_(),
numericDate, numericDate,
privacyStripping); privacyStripping);
return JSON.stringify(logDump, null, ' '); return JSON.stringify(logDump);
} }
/** /**
...@@ -88,7 +88,7 @@ log_util = (function() { ...@@ -88,7 +88,7 @@ log_util = (function() {
getTabData_(), getTabData_(),
timeutil.getCurrentTime(), timeutil.getCurrentTime(),
privacyStripping); privacyStripping);
callback(JSON.stringify(logDump, null, ' ')); callback(JSON.stringify(logDump));
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment