Index: content/browser/webui/shared_resources_data_source.cc |
diff --git a/content/browser/webui/shared_resources_data_source.cc b/content/browser/webui/shared_resources_data_source.cc |
index 693fda185408d5e806538f472ab1e6c6bf0f01fa..9442629c653776d4ace44a87559ff489efe4c9e6 100644 |
--- a/content/browser/webui/shared_resources_data_source.cc |
+++ b/content/browser/webui/shared_resources_data_source.cc |
@@ -109,6 +109,12 @@ void SharedResourcesDataSource::StartDataRequest( |
callback.Run(bytes.get()); |
} |
+bool SharedResourcesDataSource::AllowCaching() const { |
+ // Should not be cached to reflect dynamically-generated contents that may |
+ // depend on the current locale. |
+ return false; |
+} |
+ |
std::string SharedResourcesDataSource::GetMimeType( |
const std::string& path) const { |
if (path.empty()) |