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

Unified Diff: chrome/browser/ui/webui/invalidations_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/invalidations_ui.cc
diff --git a/chrome/browser/ui/webui/invalidations_ui.cc b/chrome/browser/ui/webui/invalidations_ui.cc
index f82c6651a795eca274935c7cea1d3b9b7c632206..d3295a4cf1511b7e59eee0c661316f4fc1bb3af5 100644
--- a/chrome/browser/ui/webui/invalidations_ui.cc
+++ b/chrome/browser/ui/webui/invalidations_ui.cc
@@ -19,6 +19,7 @@ content::WebUIDataSource* CreateInvalidationsHTMLSource() {
content::WebUIDataSource::Create(chrome::kChromeUIInvalidationsHost);
source->AddResourcePath("about_invalidations.js", IDR_ABOUT_INVALIDATIONS_JS);
source->SetDefaultResource(IDR_ABOUT_INVALIDATIONS_HTML);
+ source->DisableI18nAndUseGzipForAllPaths();
return source;
}
« no previous file with comments | « chrome/browser/ui/webui/engagement/site_engagement_ui.cc ('k') | chrome/browser/ui/webui/offline/offline_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698