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

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

Issue 11299236: This moves the ONC parsing code into chromeos/network/onc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove translated strings Created 8 years 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 bd52280eb967852ab3f89432abdebb79834e50ba..589bbfaa388f89063ea8927774a007b09ec3b70d 100644
--- a/chrome/browser/policy/configuration_policy_handler_list.cc
+++ b/chrome/browser/policy/configuration_policy_handler_list.cc
@@ -11,6 +11,7 @@
#include "chrome/browser/policy/policy_error_map.h"
#include "chrome/browser/policy/policy_map.h"
#include "chrome/common/pref_names.h"
+#include "chromeos/network/onc/onc_constants.h"
#include "grit/generated_resources.h"
#include "policy/policy_constants.h"
@@ -386,11 +387,11 @@ ConfigurationPolicyHandlerList::ConfigurationPolicyHandlerList() {
handlers_.push_back(
new NetworkConfigurationPolicyHandler(
key::kDeviceOpenNetworkConfiguration,
- chromeos::NetworkUIData::ONC_SOURCE_DEVICE_POLICY));
+ chromeos::onc::ONC_SOURCE_DEVICE_POLICY));
handlers_.push_back(
new NetworkConfigurationPolicyHandler(
key::kOpenNetworkConfiguration,
- chromeos::NetworkUIData::ONC_SOURCE_USER_POLICY));
+ chromeos::onc::ONC_SOURCE_USER_POLICY));
handlers_.push_back(new PinnedLauncherAppsPolicyHandler());
#endif // defined(OS_CHROMEOS)
}

Powered by Google App Engine
This is Rietveld 408576698