OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_NET_PROXY_POLICY_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_NET_PROXY_POLICY_HANDLER_H_ |
6 #define CHROME_BROWSER_NET_PROXY_POLICY_HANDLER_H_ | 6 #define CHROME_BROWSER_NET_PROXY_POLICY_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "chrome/browser/policy/configuration_policy_handler.h" | 11 #include "components/policy/core/browser/configuration_policy_handler.h" |
12 | 12 |
13 namespace policy { | 13 namespace policy { |
14 | 14 |
15 class ProxyMap; | 15 class ProxyMap; |
16 class ProxyErrorMap; | 16 class ProxyErrorMap; |
17 | 17 |
18 // ConfigurationPolicyHandler for the proxy policies. | 18 // ConfigurationPolicyHandler for the proxy policies. |
19 class ProxyPolicyHandler : public ConfigurationPolicyHandler { | 19 class ProxyPolicyHandler : public ConfigurationPolicyHandler { |
20 public: | 20 public: |
21 // Constants for the "Proxy Server Mode" defined in the policies. | 21 // Constants for the "Proxy Server Mode" defined in the policies. |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 bool CheckProxyModeAndServerMode(const PolicyMap& policies, | 55 bool CheckProxyModeAndServerMode(const PolicyMap& policies, |
56 PolicyErrorMap* errors, | 56 PolicyErrorMap* errors, |
57 std::string* mode_value); | 57 std::string* mode_value); |
58 | 58 |
59 DISALLOW_COPY_AND_ASSIGN(ProxyPolicyHandler); | 59 DISALLOW_COPY_AND_ASSIGN(ProxyPolicyHandler); |
60 }; | 60 }; |
61 | 61 |
62 } // namespace policy | 62 } // namespace policy |
63 | 63 |
64 #endif // CHROME_BROWSER_NET_PROXY_POLICY_HANDLER_H_ | 64 #endif // CHROME_BROWSER_NET_PROXY_POLICY_HANDLER_H_ |
OLD | NEW |