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

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

Issue 8480003: Surface error messages from ONC parsing in about:policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased version with password stripping. Created 9 years, 1 month 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/policy/configuration_policy_handler_list.cc
diff --git a/chrome/browser/policy/configuration_policy_handler_list.cc b/chrome/browser/policy/configuration_policy_handler_list.cc
index 8454105a59e177b9284333175844391daecc42fa..91379c9ef497c887ccd2939cb92e74e0029f402d 100644
--- a/chrome/browser/policy/configuration_policy_handler_list.cc
+++ b/chrome/browser/policy/configuration_policy_handler_list.cc
@@ -14,6 +14,10 @@
#include "grit/generated_resources.h"
#include "policy/policy_constants.h"
+#if defined(OS_CHROMEOS)
+#include "chrome/browser/policy/configuration_policy_handler_chromeos.h"
+#endif
+
namespace policy {
namespace {
@@ -211,6 +215,15 @@ ConfigurationPolicyHandlerList::ConfigurationPolicyHandlerList() {
#if !defined(OS_CHROMEOS)
handlers_.push_back(new DownloadDirPolicyHandler());
#endif // !defined(OS_CHROME0S)
+
+#if defined(OS_CHROMEOS)
+ handlers_.push_back(
+ new NetworkConfigurationPolicyHandler(
+ kPolicyDeviceOpenNetworkConfiguration));
+ handlers_.push_back(
+ new NetworkConfigurationPolicyHandler(
+ kPolicyOpenNetworkConfiguration));
+#endif
}
ConfigurationPolicyHandlerList::~ConfigurationPolicyHandlerList() {

Powered by Google App Engine
This is Rietveld 408576698