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

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

Issue 9111022: Removed ConfigurationPolicyType and extended PolicyMap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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) 2012 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_H_ 5 #ifndef CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_H_
6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_H_ 6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/observer_list.h" 14 #include "base/observer_list.h"
15 #include "base/values.h" 15 #include "base/values.h"
16 #include "policy/configuration_policy_type.h"
17 16
18 namespace policy { 17 namespace policy {
19 18
20 struct PolicyDefinitionList; 19 struct PolicyDefinitionList;
21 class PolicyMap; 20 class PolicyMap;
22 21
23 // A mostly-abstract super class for platform-specific policy providers. 22 // A mostly-abstract super class for platform-specific policy providers.
24 // Platform-specific policy providers (Windows Group Policy, gconf, 23 // Platform-specific policy providers (Windows Group Policy, gconf,
25 // etc.) should implement a subclass of this class. 24 // etc.) should implement a subclass of this class.
26 class ConfigurationPolicyProvider { 25 class ConfigurationPolicyProvider {
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 private: 120 private:
122 ConfigurationPolicyProvider* provider_; 121 ConfigurationPolicyProvider* provider_;
123 ConfigurationPolicyProvider::Observer* observer_; 122 ConfigurationPolicyProvider::Observer* observer_;
124 123
125 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyObserverRegistrar); 124 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyObserverRegistrar);
126 }; 125 };
127 126
128 } // namespace policy 127 } // namespace policy
129 128
130 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_H_ 129 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698