OLD | NEW |
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_HANDLER_CHROMEOS_H_ | 5 #ifndef CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_HANDLER_CHROMEOS_H_ |
6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_HANDLER_CHROMEOS_H_ | 6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_HANDLER_CHROMEOS_H_ |
7 #pragma once | |
8 | 7 |
9 #include "chrome/browser/chromeos/cros/network_ui_data.h" | 8 #include "chrome/browser/chromeos/cros/network_ui_data.h" |
10 #include "chrome/browser/policy/configuration_policy_handler.h" | 9 #include "chrome/browser/policy/configuration_policy_handler.h" |
11 | 10 |
12 namespace policy { | 11 namespace policy { |
13 | 12 |
14 // ConfigurationPolicyHandler for validation of the network configuration | 13 // ConfigurationPolicyHandler for validation of the network configuration |
15 // policies. These actually don't set any preferences, but the handler just | 14 // policies. These actually don't set any preferences, but the handler just |
16 // generates error messages. | 15 // generates error messages. |
17 class NetworkConfigurationPolicyHandler : public TypeCheckingPolicyHandler { | 16 class NetworkConfigurationPolicyHandler : public TypeCheckingPolicyHandler { |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 virtual void ApplyPolicySettings(const PolicyMap& policies, | 53 virtual void ApplyPolicySettings(const PolicyMap& policies, |
55 PrefValueMap* prefs) OVERRIDE; | 54 PrefValueMap* prefs) OVERRIDE; |
56 | 55 |
57 private: | 56 private: |
58 DISALLOW_COPY_AND_ASSIGN(PinnedLauncherAppsPolicyHandler); | 57 DISALLOW_COPY_AND_ASSIGN(PinnedLauncherAppsPolicyHandler); |
59 }; | 58 }; |
60 | 59 |
61 } // namespace policy | 60 } // namespace policy |
62 | 61 |
63 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_HANDLER_CHROMEOS_H_ | 62 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_HANDLER_CHROMEOS_H_ |
OLD | NEW |