1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "chrome/browser/policy/configuration_policy_provider_win.h" 6 7 #include "chrome/browser/policy/asynchronous_policy_provider.h" 8 #include "chrome/browser/policy/configuration_policy_loader_win.h" 9 #include "chrome/browser/policy/configuration_policy_provider_delegate_win.h" 10 11 namespace policy { 12 13 // Period at which to run the reload task in case the group policy change 14 // watchers fail. 15 const int kReloadIntervalMinutes = 15; 16 ConfigurationPolicyProviderWin(const PolicyDefinitionList * policy_list)17ConfigurationPolicyProviderWin::ConfigurationPolicyProviderWin( 18 const PolicyDefinitionList* policy_list) 19 : AsynchronousPolicyProvider( 20 policy_list, 21 new ConfigurationPolicyLoaderWin( 22 new ConfigurationPolicyProviderDelegateWin(policy_list), 23 kReloadIntervalMinutes)) {} 24 25 } // namespace policy 26