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

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

Issue 2590793004: MD Downloads: gzip vulcanized resources via compress="gzip" (Closed)
Patch Set: Created 4 years 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 b92363e5ca75338987e2eea13a06242db7d3fe12..3fa070e9bd723781538b944250413ff58228817c 100644
--- a/content/browser/webui/web_ui_data_source_impl.h
+++ b/content/browser/webui/web_ui_data_source_impl.h
@@ -49,15 +49,13 @@ class CONTENT_EXPORT WebUIDataSourceImpl
void OverrideContentSecurityPolicyObjectSrc(const std::string& data) override;
void OverrideContentSecurityPolicyChildSrc(const std::string& data) override;
void DisableDenyXFrameOptions() override;
- void DisableI18nAndUseGzipForAllPaths() override;
+ void UseGzipForAllPaths() override;
const ui::TemplateReplacements* GetReplacements() const override;
+ void ExcludePathFromGzip(const std::string& path) override;
// Add the locale to the load time data defaults. May be called repeatedly.
void EnsureLoadTimeDataDefaultsAdded();
- // When DisableI18nAndUseGzipForAllPaths is enabled, exclude the given |path|.
- void ExcludePathFromGzip(const std::string& path);
-
bool IsWebUIDataSourceImpl() const override;
protected:

Powered by Google App Engine
This is Rietveld 408576698