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

Unified Diff: chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc

Issue 2763013003: Specify AllowCaching = false for some ChromeOS UI pages (Closed)
Patch Set: build fix Created 3 years, 9 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: chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc
diff --git a/chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc b/chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc
index a6bd8860d54347f01153bfc962688073eda1895f..0ce4f451ef6247371a28170e52cc56ffebf29278 100644
--- a/chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc
+++ b/chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc
@@ -46,6 +46,7 @@ class ProxySettingsHTMLSource : public content::URLDataSource {
return "text/html";
}
bool ShouldAddContentSecurityPolicy() const override { return false; }
+ bool AllowCaching() const override { return false; }
protected:
~ProxySettingsHTMLSource() override {}

Powered by Google App Engine
This is Rietveld 408576698