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

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

Issue 2399553002: Gzip compress chrome://accessibility resources (Closed)
Patch Set: logging nits Created 4 years, 2 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/content_resources.grd ('k') | no next file » | 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 5c278c5069feef7d60c6a1d02d061f78350f76c1..9e3265800363cf623acbaeb62d9c77d3cef34c13 100644
--- a/content/public/browser/web_ui_data_source.h
+++ b/content/public/browser/web_ui_data_source.h
@@ -96,6 +96,8 @@ class WebUIDataSource {
// 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;
+
+ virtual void ExcludePathFromGzip(const std::string& path) = 0;
Charlie Reis 2016/10/13 17:04:43 This is in content/public but doesn't appear to be
Dan Beam 2016/10/13 17:53:46 yep, sorry about that, most of the webui pages i m
};
} // namespace content
« no previous file with comments | « content/content_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698