| 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 #include "components/policy/core/browser/proxy_policy_handler.h" | 5 #include "components/policy/core/browser/proxy_policy_handler.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/memory/ptr_util.h" | |
| 12 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
| 13 #include "base/values.h" | 12 #include "base/values.h" |
| 14 #include "components/policy/core/browser/configuration_policy_handler.h" | 13 #include "components/policy/core/browser/configuration_policy_handler.h" |
| 15 #include "components/policy/core/browser/policy_error_map.h" | 14 #include "components/policy/core/browser/policy_error_map.h" |
| 16 #include "components/policy/core/common/policy_map.h" | 15 #include "components/policy/core/common/policy_map.h" |
| 17 #include "components/policy/policy_constants.h" | 16 #include "components/policy/policy_constants.h" |
| 18 #include "components/prefs/pref_value_map.h" | 17 #include "components/prefs/pref_value_map.h" |
| 19 #include "components/proxy_config/proxy_config_dictionary.h" | 18 #include "components/proxy_config/proxy_config_dictionary.h" |
| 20 #include "components/proxy_config/proxy_config_pref_names.h" | 19 #include "components/proxy_config/proxy_config_pref_names.h" |
| 21 #include "components/strings/grit/components_strings.h" | 20 #include "components/strings/grit/components_strings.h" |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 key::kProxyServerMode, | 325 key::kProxyServerMode, |
| 327 IDS_POLICY_OUT_OF_RANGE_ERROR, | 326 IDS_POLICY_OUT_OF_RANGE_ERROR, |
| 328 base::IntToString(server_mode_value)); | 327 base::IntToString(server_mode_value)); |
| 329 return false; | 328 return false; |
| 330 } | 329 } |
| 331 } | 330 } |
| 332 return true; | 331 return true; |
| 333 } | 332 } |
| 334 | 333 |
| 335 } // namespace policy | 334 } // namespace policy |
| OLD | NEW |