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

Unified Diff: content/public/browser/web_ui_data_source.h

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 | « content/public/browser/url_data_source.cc ('k') | content/public/test/browser_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_ui_data_source.h
diff --git a/content/public/browser/web_ui_data_source.h b/content/public/browser/web_ui_data_source.h
index 515146bd20c267f34a783e9b637b39199fe0a666..04ddab5104a6efb816c348cbbcb0041d4ae3c2b7 100644
--- a/content/public/browser/web_ui_data_source.h
+++ b/content/public/browser/web_ui_data_source.h
@@ -85,6 +85,10 @@ class WebUIDataSource {
virtual void OverrideContentSecurityPolicyChildSrc(
const std::string& data) = 0;
virtual void DisableDenyXFrameOptions() = 0;
+
+ // Tells the loading code that resources are gzipped on disk. TODO(dbeam):
+ // write a streaming $i18n{} replacer and remove the "DisableI18n" part.
+ virtual void DisableI18nAndUseGzipForAllPaths() = 0;
};
} // namespace content
« no previous file with comments | « content/public/browser/url_data_source.cc ('k') | content/public/test/browser_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698