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

Unified Diff: chrome/browser/policy/configuration_policy_handler.cc

Issue 8413037: Display policy parsing errors in about:policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed extra byte, rebased Created 9 years, 2 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 | « no previous file | chrome/browser/policy/configuration_policy_reader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/configuration_policy_handler.cc
diff --git a/chrome/browser/policy/configuration_policy_handler.cc b/chrome/browser/policy/configuration_policy_handler.cc
index 38f9e69bab074dcd714408887a6ba230617d5eee..dea0239829e8a804aa20cd91df3e5d37da2fcc18 100644
--- a/chrome/browser/policy/configuration_policy_handler.cc
+++ b/chrome/browser/policy/configuration_policy_handler.cc
@@ -1027,9 +1027,9 @@ bool ProxyPolicyHandler::CheckPolicySettings(const PolicyMap* policies,
if (!entry.pac_url_allowed && pac_url)
errors->AddError(kPolicyProxyPacUrl, entry.error_message_id);
if (!entry.bypass_list_allowed && bypass_list)
- errors->AddError(kPolicyProxyPacUrl, entry.error_message_id);
+ errors->AddError(kPolicyProxyBypassList, entry.error_message_id);
if (!entry.server_allowed && server)
- errors->AddError(kPolicyProxyPacUrl, entry.error_message_id);
+ errors->AddError(kPolicyProxyServer, entry.error_message_id);
if ((!entry.pac_url_allowed && pac_url) ||
(!entry.bypass_list_allowed && bypass_list) ||
« no previous file with comments | « no previous file | chrome/browser/policy/configuration_policy_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698