| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 base::Value::TYPE_BOOLEAN }, | 96 base::Value::TYPE_BOOLEAN }, |
| 97 { key::kSearchSuggestEnabled, | 97 { key::kSearchSuggestEnabled, |
| 98 prefs::kSearchSuggestEnabled, | 98 prefs::kSearchSuggestEnabled, |
| 99 base::Value::TYPE_BOOLEAN }, | 99 base::Value::TYPE_BOOLEAN }, |
| 100 { key::kBuiltInDnsClientEnabled, | 100 { key::kBuiltInDnsClientEnabled, |
| 101 prefs::kBuiltInDnsClientEnabled, | 101 prefs::kBuiltInDnsClientEnabled, |
| 102 base::Value::TYPE_BOOLEAN }, | 102 base::Value::TYPE_BOOLEAN }, |
| 103 { key::kWPADQuickCheckEnabled, | 103 { key::kWPADQuickCheckEnabled, |
| 104 prefs::kQuickCheckEnabled, | 104 prefs::kQuickCheckEnabled, |
| 105 base::Value::TYPE_BOOLEAN }, | 105 base::Value::TYPE_BOOLEAN }, |
| 106 { key::kPacHttpsUrlStrippingEnabled, |
| 107 prefs::kPacHttpsUrlStrippingEnabled, |
| 108 base::Value::TYPE_BOOLEAN }, |
| 106 { key::kDisableSpdy, | 109 { key::kDisableSpdy, |
| 107 prefs::kDisableSpdy, | 110 prefs::kDisableSpdy, |
| 108 base::Value::TYPE_BOOLEAN }, | 111 base::Value::TYPE_BOOLEAN }, |
| 109 { key::kSafeBrowsingEnabled, | 112 { key::kSafeBrowsingEnabled, |
| 110 prefs::kSafeBrowsingEnabled, | 113 prefs::kSafeBrowsingEnabled, |
| 111 base::Value::TYPE_BOOLEAN }, | 114 base::Value::TYPE_BOOLEAN }, |
| 112 { key::kForceGoogleSafeSearch, | 115 { key::kForceGoogleSafeSearch, |
| 113 prefs::kForceGoogleSafeSearch, | 116 prefs::kForceGoogleSafeSearch, |
| 114 base::Value::TYPE_BOOLEAN }, | 117 base::Value::TYPE_BOOLEAN }, |
| 115 { key::kForceYouTubeSafetyMode, | 118 { key::kForceYouTubeSafetyMode, |
| (...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 849 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, | 852 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, |
| 850 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); | 853 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); |
| 851 handlers->AddHandler(base::WrapUnique( | 854 handlers->AddHandler(base::WrapUnique( |
| 852 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); | 855 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); |
| 853 #endif // defined(OS_CHROMEOS) | 856 #endif // defined(OS_CHROMEOS) |
| 854 | 857 |
| 855 return handlers; | 858 return handlers; |
| 856 } | 859 } |
| 857 | 860 |
| 858 } // namespace policy | 861 } // namespace policy |
| OLD | NEW |