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

Unified Diff: chrome/browser/resources/net_internals/log_util.js

Issue 12226132: Reduce size of NetLog JSON dumps by not pretty-printing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/net_internals/log_util.js
diff --git a/chrome/browser/resources/net_internals/log_util.js b/chrome/browser/resources/net_internals/log_util.js
index 68b1001c14c36e730be73a13b830cd9ce7be3848..5eb3f8b99431dd3982c42ebdffd719bbfa6ebe1a 100644
--- a/chrome/browser/resources/net_internals/log_util.js
+++ b/chrome/browser/resources/net_internals/log_util.js
@@ -71,7 +71,7 @@ log_util = (function() {
getTabData_(),
numericDate,
privacyStripping);
- return JSON.stringify(logDump, null, ' ');
+ return JSON.stringify(logDump);
}
/**
@@ -88,7 +88,7 @@ log_util = (function() {
getTabData_(),
timeutil.getCurrentTime(),
privacyStripping);
- callback(JSON.stringify(logDump, null, ' '));
+ callback(JSON.stringify(logDump));
}
/**
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698