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

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

Issue 2763013003: Specify AllowCaching = false for some ChromeOS UI pages (Closed)
Patch Set: one more 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
« no previous file with comments | « chrome/browser/ui/webui/chromeos/slow_trace_ui.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chromeos/slow_trace_ui.cc
diff --git a/chrome/browser/ui/webui/chromeos/slow_trace_ui.cc b/chrome/browser/ui/webui/chromeos/slow_trace_ui.cc
index 496601f3e7f35452745f3e6a3aa6f82ad04c5958..7faf7cd9f865834631bebff301ce54412db53aa6 100644
--- a/chrome/browser/ui/webui/chromeos/slow_trace_ui.cc
+++ b/chrome/browser/ui/webui/chromeos/slow_trace_ui.cc
@@ -62,6 +62,12 @@ void SlowTraceSource::OnGetTraceData(
callback.Run(trace_data.get());
}
+bool SlowTraceSource::AllowCaching() const {
+ // Should not be cached to reflect dynamically-generated contents that may
+ // depend on current settings.
+ return false;
+}
+
////////////////////////////////////////////////////////////////////////////////
//
// SlowTraceController
« no previous file with comments | « chrome/browser/ui/webui/chromeos/slow_trace_ui.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698