| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 base::Value::TYPE_BOOLEAN }, | 100 base::Value::TYPE_BOOLEAN }, |
| 101 { key::kBuiltInDnsClientEnabled, | 101 { key::kBuiltInDnsClientEnabled, |
| 102 prefs::kBuiltInDnsClientEnabled, | 102 prefs::kBuiltInDnsClientEnabled, |
| 103 base::Value::TYPE_BOOLEAN }, | 103 base::Value::TYPE_BOOLEAN }, |
| 104 { key::kWPADQuickCheckEnabled, | 104 { key::kWPADQuickCheckEnabled, |
| 105 prefs::kQuickCheckEnabled, | 105 prefs::kQuickCheckEnabled, |
| 106 base::Value::TYPE_BOOLEAN }, | 106 base::Value::TYPE_BOOLEAN }, |
| 107 { key::kPacHttpsUrlStrippingEnabled, | 107 { key::kPacHttpsUrlStrippingEnabled, |
| 108 prefs::kPacHttpsUrlStrippingEnabled, | 108 prefs::kPacHttpsUrlStrippingEnabled, |
| 109 base::Value::TYPE_BOOLEAN }, | 109 base::Value::TYPE_BOOLEAN }, |
| 110 { key::kDisableSpdy, | |
| 111 prefs::kDisableSpdy, | |
| 112 base::Value::TYPE_BOOLEAN }, | |
| 113 { key::kSafeBrowsingEnabled, | 110 { key::kSafeBrowsingEnabled, |
| 114 prefs::kSafeBrowsingEnabled, | 111 prefs::kSafeBrowsingEnabled, |
| 115 base::Value::TYPE_BOOLEAN }, | 112 base::Value::TYPE_BOOLEAN }, |
| 116 { key::kForceGoogleSafeSearch, | 113 { key::kForceGoogleSafeSearch, |
| 117 prefs::kForceGoogleSafeSearch, | 114 prefs::kForceGoogleSafeSearch, |
| 118 base::Value::TYPE_BOOLEAN }, | 115 base::Value::TYPE_BOOLEAN }, |
| 119 { key::kForceYouTubeSafetyMode, | 116 { key::kForceYouTubeSafetyMode, |
| 120 prefs::kForceYouTubeSafetyMode, | 117 prefs::kForceYouTubeSafetyMode, |
| 121 base::Value::TYPE_BOOLEAN }, | 118 base::Value::TYPE_BOOLEAN }, |
| 122 { key::kPasswordManagerEnabled, | 119 { key::kPasswordManagerEnabled, |
| (...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 859 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, | 856 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, |
| 860 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); | 857 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); |
| 861 handlers->AddHandler(base::WrapUnique( | 858 handlers->AddHandler(base::WrapUnique( |
| 862 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); | 859 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); |
| 863 #endif // defined(OS_CHROMEOS) | 860 #endif // defined(OS_CHROMEOS) |
| 864 | 861 |
| 865 return handlers; | 862 return handlers; |
| 866 } | 863 } |
| 867 | 864 |
| 868 } // namespace policy | 865 } // namespace policy |
| OLD | NEW |