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 | 9 |
10 #include <utility> | 10 #include <utility> |
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
666 base::Value::Type::BOOLEAN }, | 666 base::Value::Type::BOOLEAN }, |
667 #endif | 667 #endif |
668 | 668 |
669 { key::kRoamingProfileSupportEnabled, | 669 { key::kRoamingProfileSupportEnabled, |
670 syncer::prefs::kEnableLocalSyncBackend, | 670 syncer::prefs::kEnableLocalSyncBackend, |
671 base::Value::Type::BOOLEAN }, | 671 base::Value::Type::BOOLEAN }, |
672 { key::kRoamingProfileLocation, | 672 { key::kRoamingProfileLocation, |
673 syncer::prefs::kLocalSyncBackendDir, | 673 syncer::prefs::kLocalSyncBackendDir, |
674 base::Value::Type::STRING }, | 674 base::Value::Type::STRING }, |
675 | 675 |
676 { key::kNetworkTimeQueriesEnabled, | 676 { key::kBrowserNetworkTimeQueriesEnabled, |
677 network_time::prefs::kNetworkTimeQueriesEnabled, | 677 network_time::prefs::kNetworkTimeQueriesEnabled, |
678 base::Value::Type::BOOLEAN }, | 678 base::Value::Type::BOOLEAN }, |
679 }; | 679 }; |
680 // clang-format on | 680 // clang-format on |
681 | 681 |
682 class ForceSafeSearchPolicyHandler : public TypeCheckingPolicyHandler { | 682 class ForceSafeSearchPolicyHandler : public TypeCheckingPolicyHandler { |
683 public: | 683 public: |
684 ForceSafeSearchPolicyHandler() | 684 ForceSafeSearchPolicyHandler() |
685 : TypeCheckingPolicyHandler(key::kForceSafeSearch, | 685 : TypeCheckingPolicyHandler(key::kForceSafeSearch, |
686 base::Value::Type::BOOLEAN) {} | 686 base::Value::Type::BOOLEAN) {} |
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1042 #endif // defined(OS_CHROMEOS) | 1042 #endif // defined(OS_CHROMEOS) |
1043 | 1043 |
1044 #if BUILDFLAG(ENABLE_PLUGINS) | 1044 #if BUILDFLAG(ENABLE_PLUGINS) |
1045 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>()); | 1045 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>()); |
1046 #endif // BUILDFLAG(ENABLE_PLUGINS) | 1046 #endif // BUILDFLAG(ENABLE_PLUGINS) |
1047 | 1047 |
1048 return handlers; | 1048 return handlers; |
1049 } | 1049 } |
1050 | 1050 |
1051 } // namespace policy | 1051 } // namespace policy |
OLD | NEW |