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

Unified Diff: chrome/browser/ui/webui/snippets_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: found more Created 4 years, 5 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
Index: chrome/browser/ui/webui/snippets_internals_ui.cc
diff --git a/chrome/browser/ui/webui/snippets_internals_ui.cc b/chrome/browser/ui/webui/snippets_internals_ui.cc
index 5c697a67d5ab675c804fa24fecf7ac1220e600a3..0e3bc233680ccfbb52338f24623c353940e2f938 100644
--- a/chrome/browser/ui/webui/snippets_internals_ui.cc
+++ b/chrome/browser/ui/webui/snippets_internals_ui.cc
@@ -20,6 +20,7 @@ content::WebUIDataSource* CreateSnippetsInternalsHTMLSource() {
source->AddResourcePath("snippets_internals.js", IDR_SNIPPETS_INTERNALS_JS);
source->AddResourcePath("snippets_internals.css", IDR_SNIPPETS_INTERNALS_CSS);
source->SetDefaultResource(IDR_SNIPPETS_INTERNALS_HTML);
+ source->UseGzipForAllPaths();
return source;
}

Powered by Google App Engine
This is Rietveld 408576698