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

Unified Diff: chrome/browser/ui/webui/usb_internals/usb_internals_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
« no previous file with comments | « chrome/browser/ui/webui/profiler_ui.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/usb_internals/usb_internals_ui.cc
diff --git a/chrome/browser/ui/webui/usb_internals/usb_internals_ui.cc b/chrome/browser/ui/webui/usb_internals/usb_internals_ui.cc
index 8f0ad1767e4411e3819aa6e680ba8a0a9c1fa6e8..99f318900359b7a3f4be56f4f1f7ac19e095e51c 100644
--- a/chrome/browser/ui/webui/usb_internals/usb_internals_ui.cc
+++ b/chrome/browser/ui/webui/usb_internals/usb_internals_ui.cc
@@ -23,6 +23,7 @@ UsbInternalsUI::UsbInternalsUI(content::WebUI* web_ui)
source->AddResourcePath("url/mojo/origin.mojom", IDR_ORIGIN_MOJO_JS);
source->AddResourcePath("url/mojo/url.mojom", IDR_URL_MOJO_JS);
source->SetDefaultResource(IDR_USB_INTERNALS_HTML);
+ source->DisableI18nAndUseGzipForAllPaths();
content::WebUIDataSource::Add(Profile::FromWebUI(web_ui), source);
}
« no previous file with comments | « chrome/browser/ui/webui/profiler_ui.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698