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 #ifndef CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_WIN_H_ 6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_WIN_H_ 7 #pragma once 8 9 #include "chrome/browser/policy/asynchronous_policy_provider.h" 10 11 namespace policy { 12 13 // An implementation of |ConfigurationPolicyProvider| using the 14 // mechanism provided by Windows Groups Policy. Policy decisions are 15 // stored as values in a special section of the Windows Registry. 16 // On a managed machine in a domain, this portion of the registry is 17 // periodically updated by the Windows Group Policy machinery to contain 18 // the latest version of the policy set by administrators. 19 class ConfigurationPolicyProviderWin : public AsynchronousPolicyProvider { 20 public: 21 explicit ConfigurationPolicyProviderWin( 22 const PolicyDefinitionList* policy_list); ~ConfigurationPolicyProviderWin()23 virtual ~ConfigurationPolicyProviderWin() {} 24 25 private: 26 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyProviderWin); 27 }; 28 29 } // namespace policy 30 31 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_WIN_H_ 32