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 "base/basictypes.h" | 7 #include <stddef.h> |
| 8 |
8 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/macros.h" |
9 #include "base/memory/scoped_vector.h" | 11 #include "base/memory/scoped_vector.h" |
10 #include "base/prefs/pref_value_map.h" | 12 #include "base/prefs/pref_value_map.h" |
11 #include "base/values.h" | 13 #include "base/values.h" |
| 14 #include "build/build_config.h" |
12 #include "chrome/browser/policy/managed_bookmarks_policy_handler.h" | 15 #include "chrome/browser/policy/managed_bookmarks_policy_handler.h" |
13 #include "chrome/browser/profiles/incognito_mode_policy_handler.h" | 16 #include "chrome/browser/profiles/incognito_mode_policy_handler.h" |
14 #include "chrome/common/chrome_switches.h" | 17 #include "chrome/common/chrome_switches.h" |
15 #include "chrome/common/features.h" | 18 #include "chrome/common/features.h" |
16 #include "chrome/common/pref_names.h" | 19 #include "chrome/common/pref_names.h" |
17 #include "components/bookmarks/common/bookmark_pref_names.h" | 20 #include "components/bookmarks/common/bookmark_pref_names.h" |
18 #include "components/content_settings/core/common/pref_names.h" | 21 #include "components/content_settings/core/common/pref_names.h" |
19 #include "components/metrics/metrics_pref_names.h" | 22 #include "components/metrics/metrics_pref_names.h" |
20 #include "components/password_manager/core/common/password_manager_pref_names.h" | 23 #include "components/password_manager/core/common/password_manager_pref_names.h" |
21 #include "components/policy/core/browser/autofill_policy_handler.h" | 24 #include "components/policy/core/browser/autofill_policy_handler.h" |
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
814 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, | 817 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, |
815 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); | 818 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); |
816 handlers->AddHandler(make_scoped_ptr( | 819 handlers->AddHandler(make_scoped_ptr( |
817 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); | 820 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); |
818 #endif // defined(OS_CHROMEOS) | 821 #endif // defined(OS_CHROMEOS) |
819 | 822 |
820 return handlers.Pass(); | 823 return handlers.Pass(); |
821 } | 824 } |
822 | 825 |
823 } // namespace policy | 826 } // namespace policy |
OLD | NEW |