public void SetXXssProtectionHeader(HttpContext context) { var config = _headerConfigurationOverrideHelper.GetXXssProtectionWithOverride(context); if (config == null) { return; } var oldConfig = _contextConfigurationHelper.GetXXssProtectionConfiguration(context); var result = _headerGenerator.CreateXXssProtectionResult(config, oldConfig); _headerResultHandler.HandleHeaderResult(context.Response, result); }