summaryrefslogtreecommitdiffstats
path: root/chrome/browser/policy/configuration_policy_provider_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/policy/configuration_policy_provider_win.cc')
-rw-r--r--chrome/browser/policy/configuration_policy_provider_win.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/policy/configuration_policy_provider_win.cc b/chrome/browser/policy/configuration_policy_provider_win.cc
index c1ae3705..50e2fc5 100644
--- a/chrome/browser/policy/configuration_policy_provider_win.cc
+++ b/chrome/browser/policy/configuration_policy_provider_win.cc
@@ -156,8 +156,8 @@ void ConfigurationPolicyProviderWin::GroupPolicyChangeWatcher::
}
ConfigurationPolicyProviderWin::ConfigurationPolicyProviderWin(
- const StaticPolicyValueMap& policy_map)
- : ConfigurationPolicyProvider(policy_map) {
+ const PolicyDefinitionList* policy_list)
+ : ConfigurationPolicyProvider(policy_list) {
watcher_ = new GroupPolicyChangeWatcher(this->AsWeakPtr(),
kReloadIntervalMinutes);
watcher_->Start();
@@ -239,9 +239,9 @@ bool ConfigurationPolicyProviderWin::GetRegistryPolicyInteger(
bool ConfigurationPolicyProviderWin::Provide(
ConfigurationPolicyStore* store) {
- const PolicyValueMap& mapping(policy_value_map());
- for (PolicyValueMap::const_iterator current = mapping.begin();
- current != mapping.end(); ++current) {
+ const PolicyDefinitionList* policy_list(policy_definition_list());
+ for (const PolicyDefinitionList::Entry* current = policy_list->begin;
+ current != policy_list->end; ++current) {
std::wstring name = UTF8ToWide(current->name);
switch (current->value_type) {
case Value::TYPE_STRING: {