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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 base::Value::Type::BOOLEAN }, | 132 base::Value::Type::BOOLEAN }, |
133 { key::kPacHttpsUrlStrippingEnabled, | 133 { key::kPacHttpsUrlStrippingEnabled, |
134 prefs::kPacHttpsUrlStrippingEnabled, | 134 prefs::kPacHttpsUrlStrippingEnabled, |
135 base::Value::Type::BOOLEAN }, | 135 base::Value::Type::BOOLEAN }, |
136 { key::kQuicAllowed, | 136 { key::kQuicAllowed, |
137 prefs::kQuicAllowed, | 137 prefs::kQuicAllowed, |
138 base::Value::Type::BOOLEAN }, | 138 base::Value::Type::BOOLEAN }, |
139 { key::kSafeBrowsingEnabled, | 139 { key::kSafeBrowsingEnabled, |
140 prefs::kSafeBrowsingEnabled, | 140 prefs::kSafeBrowsingEnabled, |
141 base::Value::Type::BOOLEAN }, | 141 base::Value::Type::BOOLEAN }, |
| 142 { key::kSafeBrowsingForTrustedSourcesEnabled, |
| 143 prefs::kSafeBrowsingForTrustedSourcesEnabled, |
| 144 base::Value::Type::BOOLEAN }, |
142 { key::kDownloadRestrictions, | 145 { key::kDownloadRestrictions, |
143 prefs::kDownloadRestrictions, | 146 prefs::kDownloadRestrictions, |
144 base::Value::Type::INTEGER }, | 147 base::Value::Type::INTEGER }, |
145 { key::kForceGoogleSafeSearch, | 148 { key::kForceGoogleSafeSearch, |
146 prefs::kForceGoogleSafeSearch, | 149 prefs::kForceGoogleSafeSearch, |
147 base::Value::Type::BOOLEAN }, | 150 base::Value::Type::BOOLEAN }, |
148 { key::kForceYouTubeRestrict, | 151 { key::kForceYouTubeRestrict, |
149 prefs::kForceYouTubeRestrict, | 152 prefs::kForceYouTubeRestrict, |
150 base::Value::Type::INTEGER}, | 153 base::Value::Type::INTEGER}, |
151 { key::kPasswordManagerEnabled, | 154 { key::kPasswordManagerEnabled, |
(...skipping 896 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1048 #endif // defined(OS_CHROMEOS) | 1051 #endif // defined(OS_CHROMEOS) |
1049 | 1052 |
1050 #if BUILDFLAG(ENABLE_PLUGINS) | 1053 #if BUILDFLAG(ENABLE_PLUGINS) |
1051 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>()); | 1054 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>()); |
1052 #endif // BUILDFLAG(ENABLE_PLUGINS) | 1055 #endif // BUILDFLAG(ENABLE_PLUGINS) |
1053 | 1056 |
1054 return handlers; | 1057 return handlers; |
1055 } | 1058 } |
1056 | 1059 |
1057 } // namespace policy | 1060 } // namespace policy |
OLD | NEW |