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

Unified Diff: chrome/browser/ui/webui/translate_internals/translate_internals_ui.cc

Issue 2149323003: Change the way that gzipped resources are loaded from resources.pak (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename Created 4 years, 4 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/snippets_internals_ui.cc ('k') | content/browser/appcache/appcache_internals_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 86e9384f021af1f3ee446b293579fc0df4f7f829..44f3a54eda09c62c09b554645f82454e322820fd 100644
--- a/chrome/browser/ui/webui/translate_internals/translate_internals_ui.cc
+++ b/chrome/browser/ui/webui/translate_internals/translate_internals_ui.cc
@@ -50,6 +50,7 @@ content::WebUIDataSource* CreateTranslateInternalsHTMLSource() {
source->SetJsonPath("strings.js");
source->AddResourcePath("translate_internals.js",
IDR_TRANSLATE_INTERNALS_TRANSLATE_INTERNALS_JS);
+ source->DisableI18nAndUseGzipForAllPaths();
base::DictionaryValue langs;
GetLanguages(&langs);
« no previous file with comments | « chrome/browser/ui/webui/snippets_internals_ui.cc ('k') | content/browser/appcache/appcache_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698