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

Unified Diff: chrome/browser/ui/webui/profiler_ui.cc

Issue 2388303005: gzip compress more chrome:// pages (Closed)
Patch Set: rebase Created 4 years, 2 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/ui/webui/profiler_ui.cc
diff --git a/chrome/browser/ui/webui/profiler_ui.cc b/chrome/browser/ui/webui/profiler_ui.cc
index 5400685d95eec6750d85a6dcf22b459ad77f7b82..36376ad09457dac00ef6e93ab96a18a0ea5a793b 100644
--- a/chrome/browser/ui/webui/profiler_ui.cc
+++ b/chrome/browser/ui/webui/profiler_ui.cc
@@ -104,6 +104,7 @@ content::WebUIDataSource* CreateProfilerHTMLSource() {
source->SetJsonPath("strings.js");
source->AddResourcePath("profiler.js", IDR_PROFILER_JS);
source->SetDefaultResource(IDR_PROFILER_HTML);
+ source->DisableI18nAndUseGzipForAllPaths();
return source;
}
« no previous file with comments | « chrome/browser/ui/webui/predictors/predictors_ui.cc ('k') | chrome/browser/ui/webui/usb_internals/usb_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698