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

Unified Diff: content/browser/tracing/generate_trace_viewer_grd.py

Issue 2933483005: gzip chrome://tracing resources. (Closed)
Patch Set: add begin_recording to gzip excluded paths and alphabetize. Created 3 years, 6 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 | content/browser/tracing/tracing_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/tracing/generate_trace_viewer_grd.py
diff --git a/content/browser/tracing/generate_trace_viewer_grd.py b/content/browser/tracing/generate_trace_viewer_grd.py
index 4574fc5aff9269272db5c35e5091f5b908500239..037f9497dc2607255e65afbd6b947830a0d7de45 100755
--- a/content/browser/tracing/generate_trace_viewer_grd.py
+++ b/content/browser/tracing/generate_trace_viewer_grd.py
@@ -58,6 +58,7 @@ def add_file_to_grd(grd_doc, filename):
new_include_node.setAttribute('name', make_name_from_filename(filename))
new_include_node.setAttribute('file', filename)
new_include_node.setAttribute('type', 'BINDATA')
+ new_include_node.setAttribute('compress', 'gzip')
new_include_node.setAttribute('flattenhtml', 'true')
if filename.endswith('.html'):
new_include_node.setAttribute('allowexternalscript', 'true')
« no previous file with comments | « no previous file | content/browser/tracing/tracing_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698