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

Unified Diff: content/browser/webui/web_ui_data_source_impl.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: whoops 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
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 2cc738cfd25e23e5cb0e466cd04bf74faf8c0cbe..ce3538274619578c1963b201e21151a26a507cc8 100644
--- a/content/browser/webui/web_ui_data_source_impl.h
+++ b/content/browser/webui/web_ui_data_source_impl.h
@@ -44,6 +44,7 @@ class CONTENT_EXPORT WebUIDataSourceImpl
void OverrideContentSecurityPolicyObjectSrc(const std::string& data) override;
void OverrideContentSecurityPolicyChildSrc(const std::string& data) override;
void DisableDenyXFrameOptions() override;
+ void UseGzipForAllPaths() override;
protected:
~WebUIDataSourceImpl() override;
@@ -96,6 +97,7 @@ class CONTENT_EXPORT WebUIDataSourceImpl
bool deny_xframe_options_;
bool add_load_time_data_defaults_;
bool replace_existing_source_;
+ bool use_gzip_for_all_paths_;
DISALLOW_COPY_AND_ASSIGN(WebUIDataSourceImpl);
};

Powered by Google App Engine
This is Rietveld 408576698