OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 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 | 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_MAC_H_ | 5 #ifndef CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_MAC_H_ |
6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_MAC_H_ | 6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_MAC_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
| 10 #include "chrome/browser/policy/configuration_policy_store_interface.h" |
10 #include "chrome/browser/policy/file_based_policy_provider.h" | 11 #include "chrome/browser/policy/file_based_policy_provider.h" |
11 #include "chrome/browser/preferences_mac.h" | 12 #include "chrome/browser/preferences_mac.h" |
12 | 13 |
13 namespace policy { | 14 namespace policy { |
14 | 15 |
15 // A policy loader implementation that read Mac OS X's managed preferences. | 16 // A policy loader implementation that read Mac OS X's managed preferences. |
16 class MacPreferencesPolicyLoader : public FileBasedPolicyProvider::Delegate { | 17 class MacPreferencesPolicyLoader : public FileBasedPolicyProvider::Delegate { |
17 public: | 18 public: |
18 // Takes ownership of |preferences|. | 19 // Takes ownership of |preferences|. |
19 MacPreferencesPolicyLoader( | 20 MacPreferencesPolicyLoader( |
(...skipping 28 matching lines...) Expand all Loading... |
48 ConfigurationPolicyProviderMac( | 49 ConfigurationPolicyProviderMac( |
49 const ConfigurationPolicyProvider::PolicyDefinitionList* policy_list, | 50 const ConfigurationPolicyProvider::PolicyDefinitionList* policy_list, |
50 MacPreferences* preferences); | 51 MacPreferences* preferences); |
51 | 52 |
52 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyProviderMac); | 53 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyProviderMac); |
53 }; | 54 }; |
54 | 55 |
55 } // namespace policy | 56 } // namespace policy |
56 | 57 |
57 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_MAC_H_ | 58 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_MAC_H_ |
OLD | NEW |