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

Unified Diff: content/browser/webui/web_ui_data_source_impl.h

Issue 2399553002: Gzip compress chrome://accessibility resources (Closed)
Patch Set: 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
Index: content/browser/webui/web_ui_data_source_impl.h
diff --git a/content/browser/webui/web_ui_data_source_impl.h b/content/browser/webui/web_ui_data_source_impl.h
index b121d2375c561eb478ed22055144e2171726dedb..30b62dfbaa1dae0ff6175425e1169cb4a5386d41 100644
--- a/content/browser/webui/web_ui_data_source_impl.h
+++ b/content/browser/webui/web_ui_data_source_impl.h
@@ -46,7 +46,10 @@ class CONTENT_EXPORT WebUIDataSourceImpl
void DisableDenyXFrameOptions() override;
void DisableI18nAndUseGzipForAllPaths() override;
+ virtual bool IsGzipped(const std::string& path) const;
+
protected:
+ explicit WebUIDataSourceImpl(const std::string& source_name);
~WebUIDataSourceImpl() override;
// Completes a request by sending our dictionary of localized strings.
@@ -59,8 +62,6 @@ class CONTENT_EXPORT WebUIDataSourceImpl
friend class WebUIDataSource;
friend class WebUIDataSourceTest;
- explicit WebUIDataSourceImpl(const std::string& source_name);
-
// Methods that match URLDataSource which are called by
// InternalDataSource.
std::string GetSource() const;

Powered by Google App Engine
This is Rietveld 408576698