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

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

Issue 10491013: Implement the windows policy provider based on the AsyncPolicyLoader. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressed comment Created 8 years, 6 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
OLDNEW
(Empty)
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
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);
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698