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

Unified Diff: chrome/browser/ui/webui/predictors/predictors_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/predictors/predictors_ui.cc
diff --git a/chrome/browser/ui/webui/predictors/predictors_ui.cc b/chrome/browser/ui/webui/predictors/predictors_ui.cc
index 2a7f91a0970a6e279e867c5ac4f4aa62eda4f236..df3880e74c4625ba76a36cf70133d5b924fd7392 100644
--- a/chrome/browser/ui/webui/predictors/predictors_ui.cc
+++ b/chrome/browser/ui/webui/predictors/predictors_ui.cc
@@ -19,7 +19,7 @@ content::WebUIDataSource* CreatePredictorsUIHTMLSource() {
content::WebUIDataSource::Create(chrome::kChromeUIPredictorsHost);
source->AddResourcePath("predictors.js", IDR_PREDICTORS_JS);
source->SetDefaultResource(IDR_PREDICTORS_HTML);
- source->DisableI18nAndUseGzipForAllPaths();
+ source->UseGzip(std::unordered_set<std::string>());
return source;
}

Powered by Google App Engine
This is Rietveld 408576698