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 "chrome/browser/policy/configuration_policy_handler_list_factory.h" | 5 #include "chrome/browser/policy/configuration_policy_handler_list_factory.h" |
6 | 6 |
7 #include <limits.h> | 7 #include <limits.h> |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/scoped_vector.h" | 13 #include "base/memory/scoped_vector.h" |
14 #include "base/prefs/pref_value_map.h" | |
15 #include "base/values.h" | 14 #include "base/values.h" |
16 #include "build/build_config.h" | 15 #include "build/build_config.h" |
17 #include "chrome/browser/policy/managed_bookmarks_policy_handler.h" | 16 #include "chrome/browser/policy/managed_bookmarks_policy_handler.h" |
18 #include "chrome/browser/profiles/incognito_mode_policy_handler.h" | 17 #include "chrome/browser/profiles/incognito_mode_policy_handler.h" |
19 #include "chrome/common/chrome_switches.h" | 18 #include "chrome/common/chrome_switches.h" |
20 #include "chrome/common/features.h" | 19 #include "chrome/common/features.h" |
21 #include "chrome/common/pref_names.h" | 20 #include "chrome/common/pref_names.h" |
22 #include "components/bookmarks/common/bookmark_pref_names.h" | 21 #include "components/bookmarks/common/bookmark_pref_names.h" |
23 #include "components/content_settings/core/common/pref_names.h" | 22 #include "components/content_settings/core/common/pref_names.h" |
24 #include "components/metrics/metrics_pref_names.h" | 23 #include "components/metrics/metrics_pref_names.h" |
25 #include "components/password_manager/core/common/password_manager_pref_names.h" | 24 #include "components/password_manager/core/common/password_manager_pref_names.h" |
26 #include "components/policy/core/browser/autofill_policy_handler.h" | 25 #include "components/policy/core/browser/autofill_policy_handler.h" |
27 #include "components/policy/core/browser/configuration_policy_handler.h" | 26 #include "components/policy/core/browser/configuration_policy_handler.h" |
28 #include "components/policy/core/browser/configuration_policy_handler_list.h" | 27 #include "components/policy/core/browser/configuration_policy_handler_list.h" |
29 #include "components/policy/core/browser/configuration_policy_handler_parameters
.h" | 28 #include "components/policy/core/browser/configuration_policy_handler_parameters
.h" |
30 #include "components/policy/core/browser/proxy_policy_handler.h" | 29 #include "components/policy/core/browser/proxy_policy_handler.h" |
31 #include "components/policy/core/browser/url_blacklist_policy_handler.h" | 30 #include "components/policy/core/browser/url_blacklist_policy_handler.h" |
32 #include "components/policy/core/common/policy_details.h" | 31 #include "components/policy/core/common/policy_details.h" |
33 #include "components/policy/core/common/policy_map.h" | 32 #include "components/policy/core/common/policy_map.h" |
34 #include "components/policy/core/common/policy_pref_names.h" | 33 #include "components/policy/core/common/policy_pref_names.h" |
35 #include "components/policy/core/common/schema.h" | 34 #include "components/policy/core/common/schema.h" |
| 35 #include "components/prefs/pref_value_map.h" |
36 #include "components/search_engines/default_search_policy_handler.h" | 36 #include "components/search_engines/default_search_policy_handler.h" |
37 #include "components/signin/core/common/signin_pref_names.h" | 37 #include "components/signin/core/common/signin_pref_names.h" |
38 #include "components/ssl_config/ssl_config_prefs.h" | 38 #include "components/ssl_config/ssl_config_prefs.h" |
39 #include "components/translate/core/common/translate_pref_names.h" | 39 #include "components/translate/core/common/translate_pref_names.h" |
40 #include "components/variations/pref_names.h" | 40 #include "components/variations/pref_names.h" |
41 #include "policy/policy_constants.h" | 41 #include "policy/policy_constants.h" |
42 | 42 |
43 #if BUILDFLAG(ANDROID_JAVA_UI) | 43 #if BUILDFLAG(ANDROID_JAVA_UI) |
44 #include "chrome/browser/search/contextual_search_policy_handler_android.h" | 44 #include "chrome/browser/search/contextual_search_policy_handler_android.h" |
45 #endif | 45 #endif |
(...skipping 782 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
828 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, | 828 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, |
829 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); | 829 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); |
830 handlers->AddHandler(make_scoped_ptr( | 830 handlers->AddHandler(make_scoped_ptr( |
831 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); | 831 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); |
832 #endif // defined(OS_CHROMEOS) | 832 #endif // defined(OS_CHROMEOS) |
833 | 833 |
834 return handlers; | 834 return handlers; |
835 } | 835 } |
836 | 836 |
837 } // namespace policy | 837 } // namespace policy |
OLD | NEW |