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

Unified Diff: chrome/browser/ui/webui/offline/offline_internals_ui.cc

Issue 2590793004: MD Downloads: gzip vulcanized resources via compress="gzip" (Closed)
Patch Set: . Created 4 years 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/offline/offline_internals_ui.cc
diff --git a/chrome/browser/ui/webui/offline/offline_internals_ui.cc b/chrome/browser/ui/webui/offline/offline_internals_ui.cc
index ae21d36f0215ac27bd86c7a34dff89b079cb884a..9dd4b144b8aba4b8a8099fff9147440c8f7f062f 100644
--- a/chrome/browser/ui/webui/offline/offline_internals_ui.cc
+++ b/chrome/browser/ui/webui/offline/offline_internals_ui.cc
@@ -28,7 +28,7 @@ OfflineInternalsUI::OfflineInternalsUI(content::WebUI* web_ui)
html_source->AddResourcePath("offline_internals_browser_proxy.js",
IDR_OFFLINE_INTERNALS_BROWSER_PROXY_JS);
html_source->SetDefaultResource(IDR_OFFLINE_INTERNALS_HTML);
- html_source->DisableI18nAndUseGzipForAllPaths();
+ html_source->UseGzip(std::unordered_set<std::string>());
Profile* profile = Profile::FromWebUI(web_ui);
html_source->AddBoolean("isIncognito", profile->IsOffTheRecord());

Powered by Google App Engine
This is Rietveld 408576698