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

Unified Diff: chrome/browser/ui/webui/translate_internals/translate_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/translate_internals/translate_internals_ui.cc
diff --git a/chrome/browser/ui/webui/translate_internals/translate_internals_ui.cc b/chrome/browser/ui/webui/translate_internals/translate_internals_ui.cc
index bfb80e2d4263f0417ebd5c2f534709bd2bd971a7..c88c86534c71a7d1833608886e618189b79303e4 100644
--- a/chrome/browser/ui/webui/translate_internals/translate_internals_ui.cc
+++ b/chrome/browser/ui/webui/translate_internals/translate_internals_ui.cc
@@ -50,7 +50,7 @@ content::WebUIDataSource* CreateTranslateInternalsHTMLSource() {
source->SetJsonPath("strings.js");
source->AddResourcePath("translate_internals.js",
IDR_TRANSLATE_INTERNALS_TRANSLATE_INTERNALS_JS);
- source->DisableI18nAndUseGzipForAllPaths();
+ source->UseGzip(std::unordered_set<std::string>());
base::DictionaryValue langs;
GetLanguages(&langs);
« no previous file with comments | « chrome/browser/ui/webui/supervised_user_internals_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