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 "base/basictypes.h" |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/values.h" | 9 #include "base/values.h" |
10 #include "chrome/browser/extensions/policy_handlers.h" | 10 #include "chrome/browser/extensions/policy_handlers.h" |
11 #include "chrome/browser/net/disk_cache_dir_policy_handler.h" | 11 #include "chrome/browser/net/disk_cache_dir_policy_handler.h" |
12 #include "chrome/browser/net/proxy_policy_handler.h" | 12 #include "chrome/browser/net/proxy_policy_handler.h" |
13 #include "chrome/browser/policy/autofill_policy_handler.h" | 13 #include "chrome/browser/policy/autofill_policy_handler.h" |
14 #include "chrome/browser/policy/configuration_policy_handler.h" | |
15 #include "chrome/browser/policy/configuration_policy_handler_list.h" | |
16 #include "chrome/browser/policy/file_selection_dialogs_policy_handler.h" | 14 #include "chrome/browser/policy/file_selection_dialogs_policy_handler.h" |
17 #include "chrome/browser/policy/javascript_policy_handler.h" | 15 #include "chrome/browser/policy/javascript_policy_handler.h" |
18 #include "chrome/browser/policy/url_blacklist_policy_handler.h" | 16 #include "chrome/browser/policy/url_blacklist_policy_handler.h" |
19 #include "chrome/browser/profiles/incognito_mode_policy_handler.h" | 17 #include "chrome/browser/profiles/incognito_mode_policy_handler.h" |
20 #include "chrome/browser/search_engines/default_search_policy_handler.h" | 18 #include "chrome/browser/search_engines/default_search_policy_handler.h" |
21 #include "chrome/browser/sessions/restore_on_startup_policy_handler.h" | 19 #include "chrome/browser/sessions/restore_on_startup_policy_handler.h" |
22 #include "chrome/browser/sync/sync_policy_handler.h" | 20 #include "chrome/browser/sync/sync_policy_handler.h" |
23 #include "chrome/common/pref_names.h" | 21 #include "chrome/common/pref_names.h" |
| 22 #include "components/policy/core/browser/configuration_policy_handler.h" |
| 23 #include "components/policy/core/browser/configuration_policy_handler_list.h" |
24 #include "components/policy/core/common/policy_details.h" | 24 #include "components/policy/core/common/policy_details.h" |
25 #include "components/policy/core/common/policy_map.h" | 25 #include "components/policy/core/common/policy_map.h" |
26 #include "components/policy/core/common/policy_pref_names.h" | 26 #include "components/policy/core/common/policy_pref_names.h" |
27 #include "extensions/common/manifest.h" | 27 #include "extensions/common/manifest.h" |
28 #include "grit/component_strings.h" | 28 #include "grit/component_strings.h" |
29 #include "policy/policy_constants.h" | 29 #include "policy/policy_constants.h" |
30 | 30 |
31 #if defined(OS_CHROMEOS) | 31 #if defined(OS_CHROMEOS) |
32 #include "ash/magnifier/magnifier_constants.h" | 32 #include "ash/magnifier/magnifier_constants.h" |
33 #include "chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.h
" | 33 #include "chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.h
" |
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
649 | 649 |
650 #if defined(OS_ANDROID) | 650 #if defined(OS_ANDROID) |
651 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>( | 651 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>( |
652 new ManagedBookmarksPolicyHandler())); | 652 new ManagedBookmarksPolicyHandler())); |
653 #endif | 653 #endif |
654 return handlers.Pass(); | 654 return handlers.Pass(); |
655 } | 655 } |
656 #endif // !defined(OS_IOS) | 656 #endif // !defined(OS_IOS) |
657 | 657 |
658 } // namespace policy | 658 } // namespace policy |
OLD | NEW |