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

Side by Side Diff: chrome/browser/policy/configuration_policy_provider_win.h

Issue 9111022: Removed ConfigurationPolicyType and extended PolicyMap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 11 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_WIN_H_ 5 #ifndef CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_WIN_H_
6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_WIN_H_ 6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/string16.h" 9 #include "base/string16.h"
10 #include "chrome/browser/policy/asynchronous_policy_provider.h" 10 #include "chrome/browser/policy/asynchronous_policy_provider.h"
11 11
12 namespace policy { 12 namespace policy {
13 13
14 // An implementation of |ConfigurationPolicyProvider| using the 14 // An implementation of |ConfigurationPolicyProvider| using the
15 // mechanism provided by Windows Groups Policy. Policy decisions are 15 // mechanism provided by Windows Groups Policy. Policy decisions are
16 // stored as values in a special section of the Windows Registry. 16 // stored as values in a special section of the Windows Registry.
17 // On a managed machine in a domain, this portion of the registry is 17 // On a managed machine in a domain, this portion of the registry is
18 // periodically updated by the Windows Group Policy machinery to contain 18 // periodically updated by the Windows Group Policy machinery to contain
19 // the latest version of the policy set by administrators. 19 // the latest version of the policy set by administrators.
20 class ConfigurationPolicyProviderWin : public AsynchronousPolicyProvider { 20 class ConfigurationPolicyProviderWin : public AsynchronousPolicyProvider {
21 public: 21 public:
22 ConfigurationPolicyProviderWin(const PolicyDefinitionList* policy_list, 22 ConfigurationPolicyProviderWin(const PolicyDefinitionList* policy_list,
23 const string16& registry_key); 23 const string16& registry_key,
24 PolicyLevel level);
24 virtual ~ConfigurationPolicyProviderWin() {} 25 virtual ~ConfigurationPolicyProviderWin() {}
25 26
26 private: 27 private:
27 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyProviderWin); 28 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyProviderWin);
28 }; 29 };
29 30
30 } // namespace policy 31 } // namespace policy
31 32
32 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_WIN_H_ 33 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698