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

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: 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/browser/webui/url_data_manager_backend.cc ('k') | content/browser/webui/web_ui_data_source_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..23bdfd1d5997339e9b2009ad6ef327e8b5dad6cc 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 DisableI18nAndUseGzipForAllPaths() 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);
};
« no previous file with comments | « content/browser/webui/url_data_manager_backend.cc ('k') | content/browser/webui/web_ui_data_source_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698